Advertisement
MCiLuZiioNz

Untitled

Sep 3rd, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.25 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom entities
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom entities.
  6. This file should also contain entities from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP entity, first disable it in darkrp_config/disabled_defaults.lua
  9.     Once you've done that, copy and paste the entity to this file and edit it.
  10.  
  11. The default entities can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua#L111
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomEntityFields
  16.  
  17. Add entities under the following line:
  18. ---------------------------------------------------------------------------]]
  19.  
  20. DarkRP.createEntity("Rocket Boots Remover", {
  21.     ent = "wt_rocketboots_remover",
  22.     model = "models/props_c17/SuitCase001a.mdl",
  23.     price = 0,
  24.     max = 1,
  25.     cmd = "buyrocketbootsremover",
  26.     allowed = {TEAM_442ND, TEAM_442NDCOMMANDER, TEAM_501STPARA, TEAM_41STPARA, TEAM_GALACTICJETTROOPER},
  27. })
  28.  
  29. DarkRP.createEntity("Rocket Boots", {
  30.     ent = "wt_rocketboots_15sec",
  31.     model = "models/props_c17/SuitCase001a.mdl",
  32.     price = 200,
  33.     max = 1,
  34.     cmd = "buyrocketboots",
  35.     allowed = {TEAM_501STPARA, TEAM_41STPARA, TEAM_442ND, TEAM_442NDCOMMANDER, TEAM_GALACTICJETTROOPER},
  36. })
  37.  
  38. DarkRP.createEntity( "BARC Speeder", {
  39.    ent = "republic_speeder",
  40.    model = "models/barc/barc1.mdl",
  41.    price = 500,
  42.    max = 1,
  43.    cmd = "buybarcspeeder",
  44.    allowed = {TEAM_BARCTROOPER, TEAM_BARCCOMMANDER},
  45.    -- CustomCheck
  46. })
  47.  
  48. DarkRP.createEntity( "Y-Wing", {
  49.    ent = "shuttle_752_ywing",
  50.    model = "models/ywing/ywing1.mdl",
  51.    price = 1000,
  52.    max = 1,
  53.    cmd = "buyywing",
  54.    allowed = {TEAM_PILOT},
  55.    -- CustomCheck
  56. })
  57.  
  58. DarkRP.createEntity( "V-Wing", {
  59.    ent = "shuttle_752_vwing",
  60.    model = "models/vwing/vwing1.mdl",
  61.    price = 1000,
  62.    max = 1,
  63.    cmd = "buyvwing",
  64.    allowed = {TEAM_PILOT},
  65.    -- CustomCheck
  66. })
  67.  
  68. DarkRP.createEntity( "ARC-170", {
  69.    ent = "shuttle_752_arc170",
  70.    model = "models/arc170/arc1701.mdl",
  71.    price = 2000,
  72.    max = 1,
  73.    cmd = "buyarc170",
  74.    allowed = {TEAM_PILOT},
  75.    -- CustomCheck
  76. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement