22.04.2010, 13:31
This will destroy all vehicles with higher ID than 348(starting from ID 349):
pawn Код:
new carid = 348;
while(IsVehicleConnected(++carid)) DestroyVehicle(carid);
pawn Код:
IsVehicleConnected(vehicleid)
{
new Float:x, Float:y, Float:z;
GetVehiclePos(vehicleid, x, y, z);
if(x == 0.0 && y == 0.0 && z == 0.0) return 0;
return 1;
}