Recieving 1 Error. [help please]
#1

Код:
#endif

enum PLAYER_MAIN {
	PLAYER_NAME[MAX_PLAYER_NAME],
	PLAYER_IP[16],
	PLAYER_REGGED,
	PLAYER_PASS,
	PLAYER_LOGGED,
	PLAYER_LEVEL,
	PLAYER_WIRED,
	PLAYER_JAILED
}
new gPlayerInfo[MAX_PLAYERS][PLAYER_MAIN]

public OnGameModeInit()
{
	return 1;
}
getting Error

Код:
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\pawno\new.pwn(57) : error 001: expected token: ";", but found "public"
Reply
#2

pawn Код:
#endif

enum PLAYER_MAIN {
    PLAYER_NAME[MAX_PLAYER_NAME],
    PLAYER_IP[16],
    PLAYER_REGGED,
    PLAYER_PASS,
    PLAYER_LOGGED,
    PLAYER_LEVEL,
    PLAYER_WIRED,
    PLAYER_JAILED
}
new gPlayerInfo[MAX_PLAYERS][PLAYER_MAIN];

public OnGameModeInit()
{
    return 1;
}
i'm having this error em JavaScript =D
Reply
#3

Quote:
Originally Posted by TheGarfield
Посмотреть сообщение
pawn Код:
#endif

enum PLAYER_MAIN {
    PLAYER_NAME[MAX_PLAYER_NAME],
    PLAYER_IP[16],
    PLAYER_REGGED,
    PLAYER_PASS,
    PLAYER_LOGGED,
    PLAYER_LEVEL,
    PLAYER_WIRED,
    PLAYER_JAILED
}
new gPlayerInfo[MAX_PLAYERS][PLAYER_MAIN];

public OnGameModeInit()
{
    return 1;
}
i'm having this error em JavaScript =D
Thank You
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)