array must be indexed error - 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 error (
/showthread.php?tid=586968)
array must be indexed error -
saffierr - 26.08.2015
I've got an error.
Line:
PHP код:
if(PlayerInfo[Leader] >= 1)
Error:
Quote:
array must be indexed (variable "PlayerInfo")
|
Re: array must be indexed error -
Evocator - 26.08.2015
if(PlayerInfo[playerid][Leader] >= 1) i assume.
Re: array must be indexed error -
saffierr - 26.08.2015
ty solved