05.09.2015, 17:13
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!");
}
}
}