Guest User

Untitled

a guest
Oct 23rd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.37 KB | None | 0 0
  1. AddEntity("Drug Lab", "drug_lab", "models/props_lab/crematorcase.mdl", 400, 3, "/buydruglab", {TEAM_DURGZ})
  2. AddEntity("Microwave", "microwave", "models/props/cs_office/microwave.mdl", 400, 1, "/buymicrowave", TEAM_COOK)
  3. AddEntity("Gun Lab", "gunlab", "models/props_c17/TrapPropeller_Engine.mdl", 500, 1, "/buygunlab", TEAM_GUN)
  4.  
  5.  
  6.  
  7. AddEntity("Golden Printer", "golden_printer", "models/props_c17/consolebox03a.mdl", 2000, 1, "/buygoldprinter")
  8. AddEntity("Lupaz Printer", "lupaz_printer", "models/props_lab/reciever_cart.mdl", 2500, 1, "/buylupaz")
  9. AddEntity("Diamond Printer", "Diamond_Printer", "models/props_c17/consolebox01a.mdl", 6500, 1, "/buydiamondprinter")
  10. AddEntity("Ruby Printer", "Ruby_printer", "models/props_c17/consolebox01a.mdl", 5000, 1, "/buyrubyprinter")
  11. AddEntity("Emerald printer", "Emerald_printer", "models/props_lab/partsbin01.mdl", 7000, 1, "/buyemeraldprinter")
  12. AddEntity("Quantum printer", "Quantum_printer", "models/props_lab/partsbin01.mdl", 10000, 1, "/buyquantumprinter")
  13. AddEntity("Money Pallet", "money_pallet", "models/props/cs_assault/MoneyPallet.mdl", 15000, 1, "/buymoneypallet")
  14. AddEntity("Factory printer", "Factory_printer", "models/props_lab/servers.mdl", 20000, 1, "/buyfactoryprinter")
  15. AddEntity("Gold Silo", "Gold_Silo", "models/props_wasteland/laundry_washer003.mdl", 50000, 1, "/buygoldsilo")
  16. AddEntity("Ruby Silo", "Ruby_silo", "models/props_wasteland/laundry_washer003.mdl", 75000, 1, "/buyrubysilo")
  17. AddEntity("Diamond Silo", "Diamond_silo", "models/props_wasteland/laundry_washer003.mdl", 10000, 1, "/buydiamondsilo")
  18. AddEntity("Diamond Pallet", "Diamond_pallet", "models/props/cs_assault/MoneyPallet.mdl", 500000, 1, "/buydiamondfactory")
  19. AddEntity("Quantum Silo", "Quantum_silo", "models/props_wasteland/laundry_washer003.mdl", 1000000, 1, "/buyquantumsilo")
  20.  
  21. AddEntity("Money Printer Cooler", "money_printer_cooler", "models/props_c17/consolebox01a.mdl", 150, 0, "/buycooler")
  22.  
  23.  
  24.  
  25.  
  26.  
  27. /*
  28. How to add custom vehicles:
  29. FIRST
  30. go ingame, type rp_getvehicles for available vehicles!
  31. then:
  32. AddCustomVehicle(<One of the vehicles from the rp_getvehicles list>, <Model of the vehicle>, <Price of the vehicle>, <OPTIONAL jobs that can buy the vehicle>)
  33. Examples:
  34. AddCustomVehicle("Jeep", "models/buggy.mdl", 100 )
  35. AddCustomVehicle("Airboat", "models/airboat.mdl", 600, {TEAM_GUN})
  36. AddCustomVehicle("Airboat", "models/airboat.mdl", 600, {TEAM_GUN, TEAM_MEDIC})
  37.  
  38. Add those lines under your custom shipments. At the bottom of this file or in data/CustomShipments.txt
  39.  
  40. HOW TO ADD CUSTOM SHIPMENTS:
  41. AddCustomShipment("<Name of the shipment(no spaces)>"," <the model that the shipment spawns(should be the world model...)>", "<the classname of the weapon>", <the price of one shipment>, <how many guns there are in one shipment>, <OPTIONAL: true/false sold seperately>, <OPTIONAL: price when sold seperately>, < true/false OPTIONAL: /buy only = true> , OPTIONAL which classes can buy the shipment, OPTIONAL: the model of the shipment)
  42.  
  43. Notes:
  44. MODEL: you can go to Q and then props tab at the top left then search for w_ and you can find all world models of the weapons!
  45. CLASSNAME OF THE WEAPON
  46. there are half-life 2 weapons you can add:
  47. weapon_pistol
  48. weapon_smg1
  49. weapon_ar2
  50. weapon_rpg
  51. weapon_crowbar
  52. weapon_physgun
  53. weapon_357
  54. weapon_crossbow
  55. weapon_slam
  56. weapon_bugbait
  57. weapon_frag
  58. weapon_physcannon
  59. weapon_shotgun
  60. gmod_tool
  61.  
  62. But you can also add the classnames of Lua weapons by going into the weapons/ folder and look at the name of the folder of the weapon you want.
  63. Like the player possessor swep in addons/Player Possessor/lua/weapons You see a folder called weapon_posessor
  64. This means the classname is weapon_posessor
  65.  
  66. YOU CAN ADD ITEMS/ENTITIES TOO! but to actually make the entity you have to press E on the thing that the shipment spawned, BUT THAT'S OK!
  67. YOU CAN MAKE GUNDEALERS ABLE TO SELL MEDKITS!
  68.  
  69. true/false: Can the weapon be sold seperately?(with /buy name) if you want yes then say true else say no
  70.  
  71. the price of sold seperate is the price it is when you do /buy name. Of course you only have to fill this in when sold seperate is true.
  72.  
  73.  
  74. EXAMPLES OF CUSTOM SHIPMENTS(remove the // to activate it): */
  75.  
  76. //AddCustomShipment("HL2pistol", "models/weapons/W_pistol.mdl", "weapon_pistol", 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC})
  77.  
  78. --EXAMPLE OF AN ENTITY(in this case a medkit)
  79. --AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, false, 10, false, {TEAM_GUN}, "models/props_c17/oildrum001_explosive.mdl")
  80. --EXAMPLE OF A BOUNCY BALL: NOTE THAT YOU HAVE TO PRESS E REALLY QUICKLY ON THE BOMB OR YOU'LL EAT THE BALL LOL
  81. --AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, true, 10, true)
  82. -- ADD CUSTOM SHIPMENTS HERE(next line):
  83.  
  84.  
  85. -- All
  86.  
  87. AddCustomVehicle("Jeep", "models/buggy.mdl", 1399)
  88.  
  89. AddCustomVehicle("Airboat", "models/airboat.mdl", 2000)
  90.  
  91.  
  92. -- Drug dealer
  93.  
  94. AddCustomShipment("Water", "models/drug_mod/the_bottle_of_water.mdl", "durgz_water", 30, 15, true, 30, true, {TEAM_DRUGZ})
  95. AddCustomShipment("Cigarettes", "models/boxopencigshib.mdl", "durgz_cigarette", 150, 12, false, 150, false, {TEAM_DRUGZ})
  96. AddCustomShipment("Beer", "models/drug_mod/alcohol_can.mdl", "durgz_alcohol", 300, 12, false, 300, false, {TEAM_DRUGZ})
  97. AddCustomShipment("LSD", "models/smile/smile.mdl", "durgz_lsd", 1500, 12, false, 1500, false, {TEAM_DRUGZ})
  98. AddCustomShipment("Shrooms", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 1510, 12, false, 1510, false, {TEAM_DRUGZ})
  99. AddCustomShipment("Aspirin", "models/jaanus/aspbtl.mdl", "durgz_aspirin", 150, 12, false, 150, false, {TEAM_DURGZ})
  100.  
  101. -- Gun dealer
  102.  
  103.  
  104.  
  105. AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_real_cs_tmp", 19000, 5, false, 0, false, {TEAM_GUN})
  106. AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_real_cs_mp5a5", 11000, 5, false, 0, false, {TEAM_GUN})
  107. AddCustomShipment("Mac-10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 12000, 5, false, 0, false, {TEAM_GUN})
  108. AddCustomShipment("AutoShotgun", "models/weapons/w_shot_xm1014.mdl", "weapon_real_cs_xm1014", 20000, 5, false, 0, false, {TEAM_GUN})
  109. AddCustomShipment("Shotgun", "models/weapons/w_shot_m3super90.mdl", "weapon_real_cs_pumpshotgun", 19000, 5, false, 0, false, {TEAM_GUN})
  110. AddCustomShipment("Dual Elites", "models/weapons/w_pist_elite_dropped.mdl", "weapon_real_cs_elites", 2300, 5, true, 250, false, {TEAM_GUN})
  111. AddCustomShipment("Deagle", "models/weapons/w_pist_deagle.mdl", "weapon_real_cs_desert_eagle", 2300, 5, true, 250, false, {TEAM_GUN})
  112. AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 1000, 5, true, 240, false, {TEAM_GUN})
  113. AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_real_cs_p228", 1000, 5, true, 220, false, {TEAM_GUN})
  114. AddCustomShipment("Five-Seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_real_cs_five-seven", 1900, 5, true, 200, false, {TEAM_GUN})
  115. AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_real_cs_glock18", 1900, 5, true, 200, false, {TEAM_GUN})
  116.  
  117. -- Ammo dealer
  118.  
  119. AddCustomShipment("M249", "models/weapons/w_mach_m249para.mdl", "weapon_real_cs_m249", 24000, 5, false, 0, false, {TEAM_AMMO})
  120. AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_real_cs_galil", 17000, 5, false, 0, false, {TEAM_AMMO})
  121. AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 19500, 5, false, 0, false, {TEAM_AMMO})
  122. AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_real_cs_m4a1", 18000, 5, false, 0, false, {TEAM_AMMO})
  123. AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 17500, 5, false, 0, false, {TEAM_AMMO})
  124. AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_real_cs_awp", 23000, 5, false, 0, false, {TEAM_AMMO})
  125. AddCustomShipment("Scout", "models/weapons/w_snip_scout.mdl", "weapon_real_cs_scout", 16000, 5, false, 0, false, {TEAM_AMMO})
  126. AddCustomShipment("Steyr Aug", "models/weapons/w_rif_aug.mdl", "weapon_real_cs_aug", 17500, 5, false, 0, false, {TEAM_AMMO})
  127. AddCustomShipment("SG552", "models/weapons/w_rif_sg552.mdl", "weapon_real_cs_sg552", 17500, 5, false, 0, false, {TEAM_AMMO})
  128. AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_real_cs_g3sg1", 18000, 5, false, 0, false, {TEAM_AMMO})
  129. AddCustomShipment("SG550", "models/weapons/w_snip_sg550.mdl", "weapon_real_cs_sg550", 18000, 5, false, 0, false, {TEAM_AMMO})
  130. AddCustomShipment("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_real_cs_ump_45", 17500, 5, false, 0, false, {TEAM_AMMO})
  131. AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "weapon_real_cs_p90", 25000, 5, false, 0, false, {TEAM_AMMO})
  132.  
  133. -- Black Dealer
  134.  
  135. AddCustomShipment("Swagbag", "models/props_junk/garbage_bag001a.mdl", "swag_bag", 4000, 10,false, 2355, false, {TEAM_BLACK})
  136. AddCustomShipment("keypad Cracker", "models/weapons/w_c4.mdl", "keypad_cracker", 2250, 5, false, 2250, false, {TEAM_BLACK})
  137. AddCustomShipment("Med Kit", "models/weapons/w_c4.mdl", "weapon_medkit", 100000, 5, false, 2250, false, {TEAM_BLACK})
  138. AddCustomShipment("Lockpick", "models/weapons/w_crowbar.mdl", "lockpick", 2250, 5, false, 2250, false, {TEAM_BLACK})
  139. AddCustomShipment("Stunstick", "models/weapons/w_stunbaton.mdl", "stunstick", 2250, 5, false, 2250, false, {TEAM_BLACK})
  140. AddCustomShipment("Flash", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_real_cs_flash", 2000, 5, false, 0, false, {TEAM_BLACK})
Add Comment
Please, Sign In to add comment