inputtext problem
#5

Use strval to convert a string into a integer.

for example
pawn Код:
if(strval(inputtext) > DOF2_GetInt(pFile(playerid),"Money")) return SendClientMessage(playerid,COLOR_DENIED,"[ERROR] {FF6969}You don't have this ammount of money");
Reply


Messages In This Thread
inputtext problem - by Lirbo - 17.05.2014, 19:19
Re: inputtext problem - by Stinged - 17.05.2014, 19:53
Re: inputtext problem - by Lirbo - 17.05.2014, 20:00
Re: inputtext problem - by awsomedude - 17.05.2014, 20:08
Re: inputtext problem - by Patrick - 17.05.2014, 20:10
Re: inputtext problem - by Stinged - 17.05.2014, 20:53

Forum Jump:


Users browsing this thread: 2 Guest(s)