23.12.2013, 09:38
pawn Код:
new AirVehicleIDS[21][] = {
{"417"},{"425"},{"447"},{"460"},{"469"},{"476"},
{"487"},{"488"},{"497"},{"511"},{"512"},{"513"},
{"519"},{"520"},{"548"},{"553"},{"563"},{"577"},
{"592"},{"593"}};
stock IsVehicleAirVehicle(ID)
{
for(new i=0; i < sizeof(AirVehicleIDS); i++)
{
if(strval(AirVehicleIDS[i]) == ID) return 1;
}
return 0;
}
returns 1 if the vehicle ID is a air type vehicle
and returns 0 if its not