Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[---------------------------------------------------------------------------
- DarkRP custom entities
- ---------------------------------------------------------------------------
- This file contains your custom entities.
- This file should also contain entities from DarkRP that you edited.
- Note: If you want to edit a default DarkRP entity, first disable it in darkrp_config/disabled_defaults.lua
- Once you've done that, copy and paste the entity to this file and edit it.
- The default entities can be found here:
- https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua#L111
- For examples and explanation please visit this wiki page:
- http://wiki.darkrp.com/index.php/DarkRP:CustomEntityFields
- Add entities under the following line:
- ---------------------------------------------------------------------------]]
- DarkRP.createEntity( "Music Player", {
- ent = "whk_musicplayer",
- model = "models/props_lab/citizenradio.mdl",
- price = 2000,
- max = 1,
- cmd = "buyplayer",
- allowed = {TEAM_DJ},
- category = "Dj",
- })
- DarkRP.createEntity( "TV", {
- ent = "whk_tv",
- model = "models/props/cs_office/tv_plasma.mdl",
- price = 5000,
- max = 1,
- cmd = "buytv",
- allowed = {TEAM_DJ},
- category = "Dj",
- })
- DarkRP.createEntity( "Ammo", {
- ent = "cw_ammo_kit_small",
- model = "models/Items/item_item_crate.mdl",
- price = 1000,
- max = 1,
- cmd = "ammo",
- category = "Ammo",
- })
- DarkRP.createEntity( "Wall sign", {
- ent = "minecraft_wall_sign",
- model = "models/MCModelPack/entities/wallsign.mdl",
- price = 2000,
- max = 1,
- cmd = "ws",
- category = "Sign",
- })
- DarkRP.createEntity( "sign", {
- ent = "minecraft_sign",
- model = "models/MCModelPack/entities/sign.mdl",
- price = 2000,
- max = 1,
- cmd = "s",
- category = "Sign",
- })
- DarkRP.createEntity("Computer Case", {
- ent = "bit_case",
- model = "models/computer_updated/computer.mdl",
- price = 9500,
- max = 2,
- cmd = "buycomputercase",
- allowed = {TEAM_BIT},
- category = "Bitminer",
- })
- DarkRP.createEntity("Cornet OS", {
- ent = "bit_cornet",
- model = "models/props_lab/binderredlabel.mdl",
- price = 500,
- max = 2,
- cmd = "buycornetos",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("Windows OS", {
- ent = "bit_windows",
- model = "models/props_lab/bindergraylabel01b.mdl",
- price = 500,
- max = 2,
- cmd = "buywindowsos",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("CPU", {
- ent = "bit_cpu",
- model = "models/props/cs_office/computer_caseb_p4a.mdl",
- price = 1050,
- max = 2,
- cmd = "buycpu",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("GPU", {
- ent = "bit_graphiccard",
- model = "models/props/cs_office/computer_caseb_p2a.mdl",
- price = 1200,
- max = 2,
- cmd = "buygpu",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("HDD", {
- ent = "bit_harddisk",
- model = "models/props/cs_office/computer_caseb_p6b.mdl",
- price = 450,
- max = 2,
- cmd = "buyhdd",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("MOBO", {
- ent = "bit_motherboard",
- model = "models/props/cs_office/computer_caseb_p7a.mdl",
- price = 800,
- max = 2,
- cmd = "buymobo",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("Power Supply", {
- ent = "bit_powersupply",
- model = "models/props/cs_office/computer_caseb_p8a.mdl",
- price = 500,
- max = 2,
- cmd = "buypowersupply",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
- DarkRP.createEntity("RAM", {
- ent = "bit_ram",
- model = "models/props/cs_office/computer_caseb_p5b.mdl",
- price = 500,
- max = 2,
- cmd = "buyram",
- allowed = {TEAM_BIT}
- category = "Bitminer",
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement