SA-MP Forums Archive
[help]enum 2 demension array - 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: [help]enum 2 demension array (/showthread.php?tid=326140)



[help]enum 2 demension array - Jonny5 - 16.03.2012

title explains it

i have an enum but when i try

pawn Код:
enum eJobInfo
{
    jname[64],
    jtype,
    jdrops,
    Float:jstartx,
    Float:jstarty,
    Float:jstartz,
    Float:jendx,
    Float:jendy,
    Float:jendz,
    jdroptxt[128][MAX_JOB_CP],     //<--- gives error
    Float:jdropx[MAX_JOB_CP],
    Float:jdropy[MAX_JOB_CP],
    Float:jdropz[MAX_JOB_CP],
    jpay
}
the error is
Код:
error 001: expected token: "}", but found "["
is the anyway around this?
thanks