17.01.2013, 17:51
before to conver check if its numer with function IsNumber(string[]) and after use strval, if you have same problem then just put an condition like
new money=strval(inputtext);
if(money <0 || money >100) return SendClientMessage(playerid,-1,"You can deposite not above 100 $");
new money=strval(inputtext);
if(money <0 || money >100) return SendClientMessage(playerid,-1,"You can deposite not above 100 $");