04.10.2009, 11:44
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 );
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 );