Advertisement
Guest User

Untitled

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