Server Crashes When I Type Login [password]
#1

Here are the Errors

Код:
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin1.pwn(101) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin1.pwn(101) : warning 215: expression has no effect
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin1.pwn(101) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin1.pwn(101) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\filterscripts\HZadmin1.pwn(101) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Here Is The Code

Код:
public OnPlayerDisconnect(playerid, reason)
{
    new name[MAX_PLAYER_NAME], file[256];
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), SERVER_USER_FILE, name);
    if(gPlayerLogged[playerid] == 1)
    {
        dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]);
        dini_IntSet(file, "Money", PlayerInfo[playerid][pCash]);
        dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][pAdminLevel]);
    }
    gPlayerLogged[playerid] = 0;
    }
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)