26.02.2013, 00:59
Hi, my problem is as the title says "OnPlayerDisconnect is not executing on my gamemode".
Basically if in this callback I have the following code
and in-game i enter and then exit.. I got this output
as you can see, the OnPlayerDisconnect line does not appear, so my question is: what would be happening?
Thanks in advance.
Basically if in this callback I have the following code
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
print("OnPlayerDisconnect");
return 1;
}
Quote:
[20:52:02] Number of vehicle models: 7 [20:52:25] Incoming connection: 127.0.0.1:51541 [20:52:25] [join] player has joined the server (0:127.0.0.1) [20:53:12] [part] player has left the server (0:1) |
Thanks in advance.