Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCustomShipment("Custom AK-74", {
- model = "models/weapons/w_rif_ak47.mdl", -- The model of the item that hovers above the shipment
- entity = "fas2_ak74", -- the entity that comes out of the shipment
- price = 8500, -- the price of one shipment
- amount = 5, -- how many of the item go in one purchased shipment
- separate = false, -- whether the item is sold separately (usually used for guns)
- pricesep = 1800, -- the price of a separately sold item
- noship = false, -- whether this item has a shipment
- allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
- shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default)
- customCheck = function(ply) return ply:Frags() < 10 end, -- OPTIONAL, extra conditions before people can purchase the shipment or separate item
- weight = 15, -- OPTIONAL, the weight of the shipment. The default is the weight of the shipment
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement