Enum problem.
#1

I have a problem inside my enum.

I have this:

pawn Код:
fSpawnName[4][24]
I want it to be used like this:

fSpawnName[SPAWNID][MAX LENGTH]

but I get this error:

Код:
error 001: expected token: "}", but found "["
Reply
#2

post all parts of this - enum, news and definitions used in this..
Reply
#3

MAX_LENGTH?
Could be an issue with the space, though I ain't sure and can't test atm.
Reply
#4

Maybe u didn't write , or ; to the end of the ENUM or the function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)