Array Problem - 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 Problem (
/showthread.php?tid=312421)
Array Problem -
Kalli749 - 21.01.2012
Hi,
i have a Problem with an array in my Script.
Код:
error 033: array must be indexed (variable "-unknown-")
Код:
if(text[playerid] == "hallohierbinich")
{
SendClientMessage(playerid,COLOR_RED,"Du wurdest von diesem Server verbannt!");
Kick(playerid);
}
Hope someone can help me.
Best regards
Re: Array Problem -
[XST]O_x - 21.01.2012
Tell me what you're trying to do please.
What text[playerid] stands for?
Re: Array Problem -
=WoR=Varth - 21.01.2012
https://sampwiki.blast.hk/wiki/Strcmp
AW: Array Problem -
Kalli749 - 21.01.2012
thanks @ all problem solved