20.06.2015, 04:40
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : error 017: undefined symbol "Player"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(55) : error 017: undefined symbol "Player"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 017: undefined symbol "playerData"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : warning 215: expression has no effect
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 001: expected token: ";", but found "]"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 029: invalid expression, assumed zero
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(55) : error 017: undefined symbol "Player"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 017: undefined symbol "playerData"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : warning 215: expression has no effect
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 001: expected token: ";", but found "]"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : error 029: invalid expression, assumed zero
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(61) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
pawn Код:
COMMAND:startxmas(playerid, params[])
{
if(Player[playerid][loggedIn]) //LINE 53......
{
if(Player[playerid][playerLevel] >= 6) // LINE 55......
{
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SERVER] {FFFFFF}The Christmas theme has been enabled.");
for(new p; p < MAX_PLAYERS; p++)
{
if(playerData[p][playerLoggedIn])//Line 61/.....
{
TextDrawShowForPlayer(p, xmasDay);
}
}