02.07.2009, 05:59
ok sweet that works, but what can i add that tests to make sure that the input id is a valid vehicle id?after a few tests (spawning 5 andromadas is not good), i crashed my game because i tried /spawn 1. what can i put in to check that it is a vehicle id, and return a message just like this 1:
Код:
else { SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/spawn [vehicle id]\""); }