SA-MP Forums Archive
I got some compiling errors and don't know what it means, please explain me ;) - 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: I got some compiling errors and don't know what it means, please explain me ;) (/showthread.php?tid=105039)



I got some compiling errors and don't know what it means, please explain me ;) - dirkblok - 27.10.2009

Hey When I compile my gamemode I got these errors:

Код:
C:\Users\Dirk\Desktop\server 22\gamemodes\login enzo.pwn(179) : error 033: array must be indexed (variable "wiet")
C:\Users\Dirk\Desktop\server 22\gamemodes\login enzo.pwn(180) : error 033: array must be indexed (variable "joints")
What does it means and how can I fix it?

Thanks alot

Dirk


Re: I got some compiling errors and don't know what it means, please explain me ;) - Nero_3D - 27.10.2009

if you dont know what an error means, look they up in pawn-lang.pdf

Just search for the error number "033" till you find it (mostly on the first or second try in pawn-lang)

Quote:
Originally Posted by pawn-lang.pdf
033 array must be indexed (variable name)
An array as a whole cannot be used in a expression; you must indicate an element of the array between square brackets.
Because the most explainations arent always clear (ok this one is quite clear)

it just means that

Array = 32;
Array[0] = 32;


Re: I got some compiling errors and don't know what it means, please explain me ;) - dirkblok - 27.10.2009

thanks