15.06.2011, 03:44
pawn Код:
stock IsACopCar( vehicleid )
{
switch ( GetVehicleModel( vehicleid ) )
{
case 425, 527, 520, 497, 470, 432, 428, 427, 423, 596 .. 599, 601 :
return 1;
}
return 0;
}
// Example:
if ( IsACopCar( GetPlayerVehicleID( playerid ) )
Ban( playerid );