14.11.2009, 00:47
pawn Код:
new invalidvehs[] =
{
441, 464, 465, 481, 501, 509, 510, 564, 572, 594
};
public IsVehicleValid(vehicleid)
{
new k = sizeof(invalidvehs);
for(new i;i<k;i++)
if(GetVehicleModel(vehicleid) == invalidvehs[i]) return false; // Line 93
return true;
}