06.07.2012, 18:36
There is also a cool little native you can use, it's not much help. But I use it.
pawn Код:
native IsValidVehicle(vehicleid);
// snippet of my /dveh command.
if(!IsValidVehicle(targetveh))
return SendClientMessage(playerid, COLOR, "Vehicle doesn't exist.");