So I am attempting to code in some shipments for some custom weapons I've been put into my DarkRP server but it's saying "weapon unavailable" any idea why? Here's the code I wrote if it helps
AddCustomShipment("M4A1 Iron", {
model = "models/weapons/w_m4a1_iron.mdl",
entity = "m9k_m4a1",
price = 600,
amount = 1,
separate = true,
pricesep = 600,
noship = false
allowed = {TEAM_GUN}
})
Weapon Problems
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Jan 26, 2016 3:38 pm
Re: Weapon Problems
it looks like someone did something just like that here http://forum.darkrp.com/threads/m9k-shi ... ammo.2184/
try changeing
"AddCustomShipment"
TO
"DarkRP.createShipment"
in your code
try changeing
"AddCustomShipment"
TO
"DarkRP.createShipment"
in your code