Another IsACopCar
#9

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 );
Well, this is a simplified version of Farsek's.
Reply


Messages In This Thread
Another IsACopCar - by cotyzor - 14.06.2011, 17:39
Re: Another IsACopCar - by Wesley221 - 14.06.2011, 17:43
Re: Another IsACopCar - by cotyzor - 14.06.2011, 17:53
Re: Another IsACopCar - by Wesley221 - 14.06.2011, 18:00
Re: Another IsACopCar - by Steven82 - 14.06.2011, 18:21
Re: Another IsACopCar - by cotyzor - 15.06.2011, 01:41
Re: Another IsACopCar - by [L3th4l] - 15.06.2011, 03:26
Re: Another IsACopCar - by Farsek - 15.06.2011, 03:33
Re: Another IsACopCar - by Basicz - 15.06.2011, 03:44
Re: Another IsACopCar - by cotyzor - 19.06.2011, 17:11

Forum Jump:


Users browsing this thread: 5 Guest(s)