spawning vehicle help needed :D
#4

Use an if statement to check if the Id is within the correct range. For example:
pawn Код:
if(Car < lowestid || Car > highestid) return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/spawn [vehicle id]\"");
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.
Reply


Messages In This Thread
spawning vehicle help needed :D - by kazai - 02.07.2009, 05:45
Re: spawning vehicle help needed :D - by Grim_ - 02.07.2009, 05:47
Re: spawning vehicle help needed :D - by kazai - 02.07.2009, 05:59
Re: spawning vehicle help needed :D - by Grim_ - 02.07.2009, 06:05

Forum Jump:


Users browsing this thread: 1 Guest(s)