[BUG?] Function not execute
#1

Hello, here after decrementation, the rest of the script does not work:

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(IsPlayerNPC(playerid)) return 1;
    OnlinePlayers--; // executed
    print("-1 ONLINE"); // executed
    CountJob[PlayerInfo[playerid][pJob]]--; // executed
    print("-1 JOB"); // executed
    CountGroupe[PlayerInfo[playerid][pIDGroupe]]--; // NO executed
    print("-1 GROUPE"); // NO executed
    if(UserDechi == playerid)
    {
        UserDechi = 65555; // NO executed
    }
    print("UserDechi changed"); // NO executed
    if(PlayerCanSpawn[playerid])
    {
        SavePlayerInfo(playerid); // NO executed
        print("SAVE PLAYER"); // NO executed
        SaveGroupe(PlayerInfo[playerid][pIDGroupe]); // NO executed
        print("SAVE GROUPE + PLAYER"); // NO executed
    }
    return 1;
}
Why did the script is not executed ??

Many thanks, have a nice day
Reply


Messages In This Thread
[BUG?] Function not execute - by Papacool - 26.10.2012, 16:16

Forum Jump:


Users browsing this thread: 2 Guest(s)