i am trying to add shipments and guns to my gun dealer! and an error comes up that says. just well i probs wont help out the fact that i probably did some silly error on the code that i keep over looking but.. im 15 started lua 2 weeks ago and i would say ive been doing good so far for timee lol. i can probably find it out on my own but it would take me a while and this site is part of the reason for my proggress! thanks heres the whole page im testing!
[CODE]DarkRP.createShipment("AK47", {
model = "models/weapons/w_tct_ak47.mdl", -- The model of the item that hovers above the shipment
entity = "m9k_ak74", -- the entity that comes out of the shipment
price = 100000, -- 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 = 1200, -- the price of a separately sold item
noship = true, -- whether this item has a shipment
allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
}
DarkRP.createShipment("AS Vale", {
model = "models/weapons/w_dmg_vally.mdl", -- The model of the item that hovers above the shipment
entity = "m9k_val", -- the entity that comes out of the shipment
price = 120000, -- 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 = 1500, -- the price of a separately sold item
noship = true, -- whether this item has a shipment
allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun
}
DarkRP.createShipment("F,2000", {
model = "models/weapons/w_fn_fal.mdl", -- The model of the item that hovers above the shipment
entity = "m9k_f2000", -- the entity that comes out of the shipment
price = 125000, -- 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 = 1600, -- the price of a separately sold item
noship = true, -- whether this item has a shipment
allowed = {TEAM_GUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun[/CODE]
[editline]5th August 2014[/editline]
really almost an hour and know one responds...
Sorry, you need to Log In to post a reply to this thread.