The was an error regarding the missing " on line 1133 and 1212, but since I fixed those. The DarkRP.creatShipments simply dont work.
Remove the commas after the category field, if that doesn't sort it out, try putting a line between each shipment.
[code]
DarkRP.createCategory{
name = "Singles",
categorises = "shipments",
startExpanded = true,
color = Color(0, 107, 0, 255),
canSee = fp{fn.Id, true},
sortOrder = 100,
}
[/code]
(!)
Post the exact error if this doesn't fix it
[lua]
DarkRP.createShipment("MP5 - Single", {
model = "models/cw2/weapons/w_mp5_cqb.mdl",
entity = "cw_cod4_mp5,
price = 3200,
amount = 1,
separate = false,
pricesep = 1500,
noship = true,
allowed = {TEAM_EXTREME},
category = "Singles",
})
[/lua]
entity = "cw_cod4_mp5, --YOU did not close the "
[QUOTE=kulcris;48790020][lua]
DarkRP.createShipment("MP5 - Single", {
model = "models/cw2/weapons/w_mp5_cqb.mdl",
entity = "cw_cod4_mp5,
price = 3200,
amount = 1,
separate = false,
pricesep = 1500,
noship = true,
allowed = {TEAM_EXTREME},
category = "Singles",
})
[/lua]
entity = "cw_cod4_mp5, --YOU did not close the "[/QUOTE]
[QUOTE=deadpotato363;48781811]The was an error regarding the missing " on line 1133 and 1212, but since I fixed those. The DarkRP.creatShipments simply dont work.[/QUOTE]
Gonna guess it's because you're missing arguments in the createShipment table, take a look at what's optional and what's not, [URL="http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields"]CustomShipmentFields[/URL].
May not be the issue as I've never messed around with darkrp, but that'd be a start.
Sorry, you need to Log In to post a reply to this thread.