08.11.2013, 17:01
Try:
I do it that way since i stop players from entering PD cars in none cop class.
Edit; dont forget to add the check to see if they're cop.
pawn Код:
public OnPlayerEnterVehicle (playerid, vehicleid, ispassenger)
{
new id = GetVehicleModel(vehicleid);
if(id == 598)//police cruiser model id.
{
if(!ispassenger)
{
ClearAnimations(playerid,1);
}
}
return true;
}
Edit; dont forget to add the check to see if they're cop.