01.02.2015, 08:31
This code results in the crash during server restart (entering "gmx" in the server console):
And performed all code in public, and right after that comes the crash. The problem: why kick a player leads to crash the server?
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
if(reason != 2) Kick(playerid);
return 1;
}