Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createShipment("Knife", {
- model = "models/weapons/w_extreme_ratio.mdl", -- The model of the item that hovers above the shipment
- entity = "m9k_knife", -- the entity that comes out of the shipment
- price = (pricesep*7), -- the price of one shipment
- amount = 10, -- how many of the item go in one purchased shipment
- separate = true, -- whether the item is sold separately (usually used for guns)
- pricesep = 3000, -- the price of a separately sold item
- noship = false, -- whether this item has a shipment
- allowed = {TEAM_BMD}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
- buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu,
- label = "Knife", -- Optional: the text on the button in the F4 menu
- category = "Other", -- The name of the category it is in. Note: the category must be created!
- sortOrder = 100, -- The position of this thing in its category. Lower number means higher up.
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement