Well I got gun dealer with Snipers (M9K) but it gives me le 10/100 bullets I wanna limit that like 10/30 or smth...I did tried with clip1 = 10,
clip2 = 10, but it doesn't work..This is whole code
DarkRP.createShipment("Barret M988", {
model = "models/weapons/w_barrett_m98b.mdl",
entity = "m9k_m98b",
amount = 3,
price = 50000,
separate = false,
pricesep = 0,
clip1 = 10,
clip2 = 10,
noship = false,
category = "Snipers",
allowed = {TEAM_BLACK},
customCheck = function(ply) return
table.HasValue({TEAM_BLACK}, ply:Team())
end,
CustomCheckFailMsg = "Only available for Black Market Dealer",
})
Edit the weapon.
Sorry, you need to Log In to post a reply to this thread.