20.06.2015, 04:22
The gamemode is bondowocopz CCNR and i added a include name cnr_xmas.inc
The following errors were responded..
The following errors were responded..
pawn Код:
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : error 017: undefined symbol "playerData"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : warning 215: expression has no effect
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : error 001: expected token: ";", but found "]"
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : error 029: invalid expression, assumed zero
C:\CCNR\pawno\include\cnr/cnr_xmas.inc(53) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
And the code on line 53 is..
COMMAND:startxmas(playerid, params[])
{
if(playerData[playerid][playerLoggedIn]) //This line is giving error..
{
if(playerData[playerid][playerLevel] >= 6)
{
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SERVER] {FFFFFF}The Christmas theme has been enabled.");
for(new p; p < MAX_PLAYERS; p++)