Quote:
Originally Posted by Cameltoe
Like this:
pawn Код:
if(model == restrictedmodel && Teamvariable == theteamtorestrictto) { SendClientMessage(playerid, COLOR, "Go bust some ass !!!"); } else { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR, "This vehicle is restricted to theteamtorestrictto"); }
|
what should I change "restrictedmodel && Teamvariable == theteamtorestrictto)" to ?
because there's more than one vehicle model
http://pastebin.com/YTy0j3MJ