Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh_CM = {}
- sh_CM.Containables = {} --Info table has to exist in here, even when it's empty.
- sh_CM.Containables["Cheque"] = { Class = "darkrp_cheque", Info = { dt = { 'owning_ent', 'recipient', 'amount' } } }
- sh_CM.Containables["Money"] = { Class = "spawned_money", Info = { dt = { 'amount' } } }
- sh_CM.Containables["Weapon"] = { Class = "spawned_weapon", Info = { dt = { 'amount', 'WeaponClass' } } }
- sh_CM.Containables["Food"] = { Class = "spawned_food", Info = {} }
- sh_CM.Containables["Drug"] = { Class = "drug", Info = {} }
- sh_CM.Containables["Food"] = { Class = "food", Info = {} }
- --HOW TO ADD NEW CONTAINABLES
- --COPY BELOW LINE AND REPLEACE $something$ with proper values
- --sh_CM.Containables["$item name$"] = { Class = "$ent class$" }
- --USE Info = {} ONLY if you want some info to be stored, better ask some lua scripter what you can put in here
- 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