12.01.2011, 19:21
You may wish to give this a shot; make sure you read the function and realize how the code works before using it!
pawn Код:
stock IsInvalidModVehicle(vehicleid)
{
switch(GetVehicleModel(vehicleid))
{ // I got all of the vehicle ID's from here: https://sampwiki.blast.hk/wiki/Vehicles:Bikes
case 509, 481, 510, 462,
448, 581, 522, 461, 521,
523, 463, 586, 468, 471: return true;
}
return false;
}