Please help [Error]
#2

Lol. vehicle ID is not a string.
Try:
if(!IsNumeric(inputtext)) return SendClientMessage(playerid, color, "vehicle ID is a number!");
and then:
if(strval(inputtext) < 400 || strval(inputtext) > 611) return 1;
and then :
CreateVehicle(strval(inputtext), other params );
Reply


Messages In This Thread
Please help [Error] - by Dj_maryo1993 - 04.10.2009, 11:35
Re: Please help [Error] - by Kurence - 04.10.2009, 11:44
Re: Please help [Error] - by Dj_maryo1993 - 04.10.2009, 12:45
Re: Please help [Error] - by Correlli - 04.10.2009, 12:46
Re: Please help [Error] - by Dj_maryo1993 - 04.10.2009, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)