SA-MP Forums Archive
array must be indexed???? - 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???? (/showthread.php?tid=323203)



array must be indexed???? (+REP) - xXitsgodzillaXx - 05.03.2012

O_O okay guys i have another one for you.

im using sandras property system on my server but for some reason its giving me errors.

Код:
C:\Documents and Settings\Administrator\Desktop\PropertySystem\filterscripts\Properties.pwn(119) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Administrator\Desktop\PropertySystem\filterscripts\Properties.pwn(126) : warning 204: symbol is assigned a value that is never used: "str"
C:\Documents and Settings\Administrator\Desktop\PropertySystem\filterscripts\Properties.pwn(118) : warning 204: symbol is assigned a value that is never used: "tmp"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and the line that has the error

Код:
cmd = strtok(cmdtext, idx);
someone please help D:


Re: array must be indexed???? - Walsh - 05.03.2012

Thank you for posting your whole script and not providing the error line.


Re: array must be indexed???? - xXitsgodzillaXx - 05.03.2012

Quote:
Originally Posted by Walsh
Посмотреть сообщение
Thank you for posting your whole script and not providing the error line.
idiotic comment is idiotic. someone with some REAL help?