Advertisement
Guest User

nodey ples

a guest
Jul 10th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. sh_CM = {}
  2.  
  3. sh_CM.Containables = {} --Info table has to exist in here, even when it's empty.
  4. sh_CM.Containables["Cheque"] = { Class = "darkrp_cheque", Info = { dt = { 'owning_ent', 'recipient', 'amount' } } }
  5. sh_CM.Containables["Money"] = { Class = "spawned_money", Info = { dt = { 'amount' } } }
  6. sh_CM.Containables["Weapon"] = { Class = "spawned_weapon", Info = { dt = { 'amount', 'WeaponClass' } } }
  7. sh_CM.Containables["Food"] = { Class = "spawned_food", Info = {} }
  8. sh_CM.Containables["Drug"] = { Class = "drug", Info = {} }
  9. sh_CM.Containables["Food"] = { Class = "food", Info = {} }
  10.  
  11. --HOW TO ADD NEW CONTAINABLES
  12. --COPY BELOW LINE AND REPLEACE $something$ with proper values
  13.  
  14. --sh_CM.Containables["$item name$"] = { Class = "$ent class$" }
  15.  
  16. --USE Info = {} ONLY if you want some info to be stored, better ask some lua scripter what you can put in here
  17.  
  18.  
  19. sh_CM.StoreBlockDelay = 3 -- Delay after which you container starts storing stuff again, Default: 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement