Advertisement
RocketX6

3D Gun dealer AddGuns example

Apr 16th, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. D3DGun_GunsList = D3DGun_GunsList or {}
  2.  
  3. /* ──────────────────────────────────────────────────────────────────────────────────
  4. Adding New Guns
  5. ────────────────────────────────────────────────────────────────────────────────── */
  6.  
  7. -- DarkRP Weapons. maybe
  8. local TB2Insert = {}
  9. TB2Insert.ClassName = "weapon_pumpshotgun2"
  10. TB2Insert.PrintName = "Pump Shotgun"
  11. TB2Insert.Price = 100
  12. TB2Insert.Type = "Gun"
  13.  
  14. TB2Insert.MainCategory = "GUN"
  15. TB2Insert.Category = "Primary"
  16.  
  17. TB2Insert.FORCE_CamZPosAdjust = 5
  18. table.insert(D3DGun_GunsList,TB2Insert)
  19.  
  20. local TB2Insert = {}
  21. TB2Insert.ClassName = "weapon_m42"
  22. TB2Insert.PrintName = "M4"
  23. TB2Insert.Price = 100
  24. TB2Insert.Type = "Gun"
  25.  
  26. TB2Insert.MainCategory = "GUN"
  27. TB2Insert.Category = "Primary"
  28.  
  29. TB2Insert.FORCE_CamZPosAdjust = 5
  30. table.insert(D3DGun_GunsList,TB2Insert)
  31.  
  32. local TB2Insert = {}
  33. TB2Insert.ClassName = "ls_sniper"
  34. TB2Insert.PrintName = "Sniper"
  35. TB2Insert.Price = 100
  36. TB2Insert.Type = "Gun"
  37.  
  38. TB2Insert.MainCategory = "GUN"
  39. TB2Insert.Category = "Primary"
  40.  
  41. TB2Insert.FORCE_CamZPosAdjust = 5
  42. TB2Insert.FORCE_Damage = 5
  43. table.insert(D3DGun_GunsList,TB2Insert)
  44.  
  45. local TB2Insert = {}
  46. TB2Insert.ClassName = "weapon_glock2"
  47. TB2Insert.PrintName = "Glock"
  48. TB2Insert.Price = 100
  49. TB2Insert.Type = "Gun"
  50.  
  51. TB2Insert.MainCategory = "GUN"
  52. TB2Insert.Category = "Secondary"
  53.  
  54. table.insert(D3DGun_GunsList,TB2Insert)
  55.  
  56. local TB2Insert = {}
  57. TB2Insert.ClassName = "weapon_fiveseven2"
  58. TB2Insert.PrintName = "Five Seven"
  59. TB2Insert.Price = 100
  60. TB2Insert.Type = "Gun"
  61.  
  62. TB2Insert.MainCategory = "GUN"
  63. TB2Insert.Category = "Secondary"
  64.  
  65. table.insert(D3DGun_GunsList,TB2Insert)
  66.  
  67.  
  68. /* ──────────────────────────────────────────────────────────────────────────────────
  69. Adding New Guns :: END
  70. ────────────────────────────────────────────────────────────────────────────────── */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement