SA-MP Forums Archive
Array must be indexed (variable "inputtext")? - 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)
+--- Thread: Array must be indexed (variable "inputtext")? (/showthread.php?tid=546299)



Array must be indexed (variable "inputtext")? - Sellize - 14.11.2014

xxxx


Re: Array must be indexed (variable "inputtext")? - ]Rafaellos[ - 14.11.2014

You have to use strcmp.


Re: Array must be indexed (variable "inputtext")? - Sellize - 14.11.2014

xxxx


Re: Array must be indexed (variable "inputtext")? - DavidBilla - 14.11.2014

Since inputtext is a string, do
pawn Код:
if(!strcmp(inputtext,PlayerInfo[playerid][pPass],true/false))
Edit: was late....