error 001: expected token: "}", but found "enum"
#1

pawn Код:
C:\Documents and Settings\DELA Family\Desktop\Junk\Ghs Test Server\filterscripts\xObjects.pwn(307) : error 001: expected token: "}", but found "enum"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


pawn Код:
}
enum player_info
{
    objid[sizeof(Objects)],
    bool:view[sizeof(Objects)]
}
new Player[MAX_PLAYERS][player_info];
Reply
#2

whats above the enum? and add an ";" after that } above enum
Reply
#3

show us a bit more code above that peace you gaved us
Reply
#4

Код:
error 001: expected token: "}", but found "enum"
Read the error, it expects an "}" sign but found enum, so youre missing an "}" sign just above the line where you places your enum.
Reply
#5

put a } above enum
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)