SA-MP Forums Archive
inputtext help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: inputtext help (/showthread.php?tid=147965)



inputtext help - aircombat - 15.05.2010

i have this :

if(inputtext > Variable) return SendClientMessage(playerid,COLOR_RED,"You Cant Do That");

but it gives :
Код:
array must be indexed (variable "inputtext")
and this :

GivePlayerMoney(playerid,-inputtext);
Variable += inputtext;
Код:
error 035: argument type mismatch (argument 2)
and
Код:
array must be indexed (variable "inputtext")



Re: inputtext help - cessil - 15.05.2010

and the created inputtext is an array right? there's your problem


Re: inputtext help - MadeMan - 15.05.2010

pawn Код:
strval(inputtext)



Re: inputtext help - aircombat - 15.05.2010

Quote:
Originally Posted by MadeMan
pawn Код:
strval(inputtext)
tyvm dude