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("Rocket Boots Remover", {
- ent = "wt_rocketboots_remover",
- model = "models/props_c17/SuitCase001a.mdl",
- price = 0,
- max = 1,
- cmd = "buyrocketbootsremover",
- allowed = {TEAM_442ND, TEAM_442NDCOMMANDER, TEAM_501STPARA, TEAM_41STPARA, TEAM_GALACTICJETTROOPER},
- })
- DarkRP.createEntity("Rocket Boots", {
- ent = "wt_rocketboots_15sec",
- model = "models/props_c17/SuitCase001a.mdl",
- price = 200,
- max = 1,
- cmd = "buyrocketboots",
- allowed = {TEAM_501STPARA, TEAM_41STPARA, TEAM_442ND, TEAM_442NDCOMMANDER, TEAM_GALACTICJETTROOPER},
- })
- DarkRP.createEntity( "BARC Speeder", {
- ent = "republic_speeder",
- model = "models/barc/barc1.mdl",
- price = 500,
- max = 1,
- cmd = "buybarcspeeder",
- allowed = {TEAM_BARCTROOPER, TEAM_BARCCOMMANDER},
- -- CustomCheck
- })
- DarkRP.createEntity( "Y-Wing", {
- ent = "shuttle_752_ywing",
- model = "models/ywing/ywing1.mdl",
- price = 1000,
- max = 1,
- cmd = "buyywing",
- allowed = {TEAM_PILOT},
- -- CustomCheck
- })
- DarkRP.createEntity( "V-Wing", {
- ent = "shuttle_752_vwing",
- model = "models/vwing/vwing1.mdl",
- price = 1000,
- max = 1,
- cmd = "buyvwing",
- allowed = {TEAM_PILOT},
- -- CustomCheck
- })
- DarkRP.createEntity( "ARC-170", {
- ent = "shuttle_752_arc170",
- model = "models/arc170/arc1701.mdl",
- price = 2000,
- max = 1,
- cmd = "buyarc170",
- allowed = {TEAM_PILOT},
- -- CustomCheck
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement