Guns and other entities are allowed for everyteam HELP
0 replies, posted
I have this entity.
AddCustomShipment("Famas", {
model = "models/weapons/w_tct_famas.mdl",
entity = "m9k_famas",
price = 0,
amount = 10,
seperate = true,
pricesep = 205,
noship = true,
allowed = {TEAM_GUNDE}
})
THIS IS MY TEAM THAT I WANT IT ALLOWED FOR
TEAM_GUNDE = AddExtraTeam("Gun Dealer", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[A gun dealer is the only person who can sell guns to other
people.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols
Make a shop? YES
Base? NO
Raid? NO]],
weapons = {},
command = "gundealer",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})
The problem is, the gun entity is being allowed to everyone. Citizens, hobos, ect.
Idk why this is happening, can someone help?
Sorry, you need to Log In to post a reply to this thread.