Guest User

Untitled

a guest
Feb 21st, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.14 KB | None | 0 0
  1. AddCustomShipment("Desert eagle", "models/weapons/w_pist_deagle.mdl", "weapon_deagle2", 500, 10, true, 215, true, {TEAM_GUN})
  2. AddCustomShipment("Fiveseven", "models/weapons/w_pist_fiveseven.mdl", "weapon_fiveseven2", 0, 10, true, 400, true, {TEAM_GUN})
  3. AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_glock2", 0, 10, true, 300, true, {TEAM_GUN})
  4. AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_p2282", 0, 10, true, 380, true, {TEAM_GUN})
  5.  
  6. AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_ak472", 10000, 10, false, nil, false, {TEAM_GUN})
  7. AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_mp52", 8000, 10, false, nil, false, {TEAM_GUN})
  8. AddCustomShipment("M4", "models/weapons/w_rif_m4a1.mdl", "weapon_m42", 10000, 10, false, nil, false, {TEAM_GUN})
  9. AddCustomShipment("Mac 10", "models/weapons/w_smg_mac10.mdl", "weapon_mac102", 80000, 10, false, nil, false, {TEAM_GUN})
  10. AddCustomShipment("Pump shotgun", "models/weapons/w_shot_m3super90.mdl", "weapon_pumpshotgun2", 25000, 10, false, nil, false, {TEAM_GUN})
  11.  
  12. AddEntity("Drug lab", "drug_lab", "models/props_lab/crematorcase.mdl", 400, 3, "/buydruglab", {TEAM_DRUG})
  13. AddEntity("Money printer", "money_printer", "models/props_lab/citizenradio.mdl", 1000, 2, "/buymoneyprinter")
  14. AddEntity("Microwave", "microwave", "models/props/cs_office/microwave.mdl", 400, 1, "/buymicrowave", TEAM_COOK)
  15. AddEntity("Gun lab", "gunlab", "models/props_c17/TrapPropeller_Engine.mdl", 500, 1, "/buygunlab", TEAM_GUN)
  16.  
  17. AddEntity("Gold Printer", "gold_printer", "models/props_lab/reciever01a.mdl", 1000, 2, "/buyprinter1")
  18. AddEntity("Platinum Printer", "platinum_printer", "models/props_lab/reciever01b.mdl", 5000, 2, "/buyprinter2")
  19. AddEntity("Diamond Printer", "diamond_printer", "models/props_c17/consolebox01a.mdl", 1200, 2, "/buyprinter3")
  20. AddEntity("Nuclear Printer", "nuclear_printer", "models/props_lab/partsbin01.mdl", 2500, 2, "/buyprinter4")
  21.  
  22.  
  23. /*
  24. How to add custom vehicles:
  25. FIRST
  26. go ingame, type rp_getvehicles for available vehicles!
  27. then:
  28. 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>)
  29. Examples:
  30. AddCustomVehicle("Jeep", "models/buggy.mdl", 100 )
  31. AddCustomVehicle("Airboat", "models/airboat.mdl", 600, {TEAM_GUN})
  32. AddCustomVehicle("Airboat", "models/airboat.mdl", 600, {TEAM_GUN, TEAM_MEDIC})
  33.  
  34. Add those lines under your custom shipments. At the bottom of this file or in data/CustomShipments.txt
  35.  
  36. HOW TO ADD CUSTOM SHIPMENTS:
  37. 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)
  38.  
  39. Notes:
  40. 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!
  41. CLASSNAME OF THE WEAPON
  42. there are half-life 2 weapons you can add:
  43. weapon_pistol
  44. weapon_smg1
  45. weapon_ar2
  46. weapon_rpg
  47. weapon_crowbar
  48. weapon_physgun
  49. weapon_357
  50. weapon_crossbow
  51. weapon_slam
  52. weapon_bugbait
  53. weapon_frag
  54. weapon_physcannon
  55. weapon_shotgun
  56. gmod_tool
  57.  
  58. 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.
  59. Like the player possessor swep in addons/Player Possessor/lua/weapons You see a folder called weapon_posessor
  60. This means the classname is weapon_posessor
  61.  
  62. 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!
  63. YOU CAN MAKE GUNDEALERS ABLE TO SELL MEDKITS!
  64.  
  65. true/false: Can the weapon be sold seperately?(with /buy name) if you want yes then say true else say no
  66.  
  67. 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.
  68.  
  69.  
  70. EXAMPLES OF CUSTOM SHIPMENTS(remove the // to activate it): */
  71.  
  72. //AddCustomShipment("HL2pistol", "models/weapons/W_pistol.mdl", "weapon_pistol", 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC})
  73.  
  74. --EXAMPLE OF AN ENTITY(in this case a medkit)
  75. --AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, false, 10, false, {TEAM_GUN}, "models/props_c17/oildrum001_explosive.mdl")
  76. --EXAMPLE OF A BOUNCY BALL: NOTE THAT YOU HAVE TO PRESS E REALLY QUICKLY ON THE BOMB OR YOU'LL EAT THE BALL LOL
  77. --AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, true, 10, true)
  78. -- ADD CUSTOM SHIPMENTS HERE(next line):
  79.  
  80. AddCustomVehicle("Jeep", "models/buggy.mdl", 600, {TEAM_CAR})
  81.  
  82. AddCustomVehicle("Copcar", "models/tdmcars/gt500.mdl", 100, {TEAM_POLICE})
  83.  
  84. AddCustomVehicle("Copcar", "models/tdmcars/gt500.mdl", 100, {TEAM_CHIEF})
  85.  
  86. AddCustomVehicle("gt500tdm", "models/tdmcars/gt500.mdl", 25000, {TEAM_CAR})
  87.  
  88. AddCustomVehicle("supratdm", "models/tdmcars/supra.mdl", 25000, {TEAM_CAR})
  89.  
  90. AddCustomVehicle("dodgeramtdm", "models/tdmcars/dodgeram.mdl", 25000, {TEAM_CAR})
  91.  
  92. AddCustomVehicle("rx8tdm", "models/tdmcars/rx8.mdl", 25000, {TEAM_CAR})
  93.  
  94. AddCustomShipment("Granade", "models/weapons/w_eq_fraggrenade_thrown.mdl", "weapon_real_cs_grenade", 20000, 10, false, 200, false, {TEAM_ARM})
  95.  
  96. AddCustomShipment("MP7", "models/weapons/w_mp7_silenced.mdl", "weapon_bd_mp7", 25000, 10, false, 200, false, {TEAM_HITMAN})
  97.  
  98. AddCustomShipment("Flash Bang", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_real_cs_flash", 35000, 10, false, 200, false, {TEAM_ARM})
  99.  
  100. AddCustomShipment("Smoke", "models/weapons/w_eq_smokegrenade_thrown.mdl", "weapon_real_cs_smoke", 10000, 10, false, 200, false,
  101. {TEAM_ARM})
  102.  
  103. AddCustomShipment("Door Buster", "models/weapons/w_slam.mdl", "weapon_mad_charge", 25000, 5, false, 200, false,
  104. {TEAM_ARM})
  105.  
  106. AddCustomShipment("Incendiary Granade", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_mad_incendiary", 25000, 5, false, 200, false,
  107. {TEAM_ARM})
  108.  
  109.  
  110. AddCustomShipment("Spas12", "models/weapons/w_shot_xm1012.mdl", "kermite_shot_spas12", 35000, 10, false, nil, false, {TEAM_GUN})
  111.  
  112. AddCustomShipment("Winchester", "models/weapons/w_shot_winch1873.mdl", "kermite_shot_winch1873", 30000, 10, false, nil, false, {TEAM_GUN})
  113.  
  114. AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_real_cs_awp", 60000, 10, false, nil, false, {TEAM_GUN})
  115.  
  116. AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_tmp", 80000, 10, false, nil, false, {TEAM_GUN})
  117.  
  118. AddCustomShipment("Alyx Gun", "models/weapons/w_alyx_gun_2.mdl", "weapon_mad_alyxgun", 15000, 10, false, nil, false, {TEAM_GUN})
  119.  
  120. AddEntity("Pot Plant", "weed_plant", "models/nater/weedplant_pot_planted.mdl", 12000, 5, "/buyweed", {TEAM_DRUG})
  121.  
  122. AddEntity("Seed", "seed_weed", "models/cocn.mdl", 150, 15, "/buyseed", {TEAM_DRUG})
  123.  
  124. AddCustomShipment("AUG", "models/weapons/w_rif_aug.mdl", "weapon_real_cs_aug", 15000, 10, false, nil, false, {TEAM_GUN})
  125.  
  126. AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 20000, 10, false, nil, false, {TEAM_GUN})
  127.  
  128. AddCustomShipment("Fiveseven", "models/weapons/w_pist_fiveseven.mdl", "weapon_real_cs_five-seven", 7000, 10, false, nil, false, {TEAM_GUN})
  129.  
  130. AddCustomShipment("G3", "models/weapons/w_snip_g3sg1.mdl", "weapon_real_cs_g3sg1", 50000, 10, false, nil, false, {TEAM_GUN})
  131.  
  132. AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_real_cs_galil", 13000, 10, false, nil, false, {TEAM_GUN})
  133.  
  134. AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_real_cs_glock18", 5000, 10, false, nil, false, {TEAM_GUN})
  135.  
  136. AddCustomShipment("Knife", "models/weapons/w_knife_t.mdl", "weapon_real_cs_knife", 5000, 10, false, nil, false, {TEAM_GUN})
  137.  
  138. AddCustomShipment("Para", "models/weapons/w_mach_m249para.mdl", "weapon_real_cs_m249", 30000, 10, false, nil, false, {TEAM_GUN})
  139.  
  140. AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 11000, 10, false, nil, false, {TEAM_GUN})
Add Comment
Please, Sign In to add comment