Quote:
Originally Posted by IceBilizard
try this
pawn Код:
if(newstate == PLAYER_STATE_DRIVER) { new carid = GetPlayerVehicleID(playerid); new Model = GetVehicleModel(carid); if(Model == 407 || Model == 427 || Model == 432 || Model == 433 || Model == 490 || Model == 497 || Model == 523 || Model == 52 || Model == 596 || Model == 597 || Model == 59 || Model == 599 || Model == 601) { if(AccInfo[playerid][Police] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,0xFF0000FF,"Police Only!"); } } }
|
Where did you see the model number below 400?
Код:
Model == 52 ... || ... Model == 59
So it comes to ID!