26.10.2012, 16:16
(
Последний раз редактировалось Papacool; 26.10.2012 в 16:58.
)
Hello, here after decrementation, the rest of the script does not work:
Why did the script is not executed ??
Many thanks, have a nice day
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;
}
Many thanks, have a nice day