SA-MP Forums Archive
Recieving 1 Error. [help please] - 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: Recieving 1 Error. [help please] (/showthread.php?tid=267015)



Recieving 1 Error. [help please] - HayZatic - 06.07.2011

Код:
#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"



Re: Recieving 1 Error. [help please] - TheGarfield - 06.07.2011

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


Re: Recieving 1 Error. [help please] - HayZatic - 06.07.2011

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