14.04.2009, 21:40
still if you want to detect the bike,
pawn Код:
new bikes[] = { 581, 523, 462, 521, 463, 522, 461, 448, 468, 586, 509, 481, 510, 471, 539};
IsABike(carid)
{
carid=GetVehicleModel(carid);
for(new i=0;i<sizeof(bikes);i++)
{
if(carid==bikes[i]){return 1;}
}
return 0;
}
if(!IsABike(vehid)
{
// add the shit
}
else
{
// you kow if it is a bike =)
}