TCB car dealer, Sertain job can only spawn certain car?
2 replies, posted
So im using the TCB car dealer addon, and im trying to make it so only my police classes can spawn the cop car! so here is what i tried!
TCBDealer.vehicleTable["charger12poltdm"] = {
price = 0,
allowed = {TEAM_POLICE, TEAM_CHIEF, TEAM_SWAT, TEAM_SWATCHIEF, TEAM_SWATMEDIC}
}
But it does not work, would love some help on this! thanks :D
Put what errors you get, and please wrap your code in the code tag.
Just a guess, but I know a lot of people use the team_whatever variables to make work easier but try using the raw team numbers, see if that works.
[QUOTE=warlock123;49426123]Put what errors you get, and please wrap your code in the code tag.
Just a guess, but I know a lot of people use the team_whatever variables to make work easier but try using the raw team numbers, see if that works.[/QUOTE]
Thats the thing, i dont get any errors, and the car works, anyone can buy it and use it.
Sorry, you need to Log In to post a reply to this thread.