02.07.2009, 06:05
Use an if statement to check if the Id is within the correct range. For example:
That checks if the Car ID entered is less than the lowest possible Id, or greater than the highest possible ID.
You should replace 'lowestid' and 'highestid' with the correct Ids for those positions.
pawn Код:
if(Car < lowestid || Car > highestid) return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/spawn [vehicle id]\"");
You should replace 'lowestid' and 'highestid' with the correct Ids for those positions.