OnPlayerDisconnect is not executing on my gamemode
#1

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

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    print("OnPlayerDisconnect");
    return 1;
}
and in-game i enter and then exit.. I got this output

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)

as you can see, the OnPlayerDisconnect line does not appear, so my question is: what would be happening?

Thanks in advance.
Reply


Messages In This Thread
OnPlayerDisconnect is not executing on my gamemode - by deb014 - 26.02.2013, 00:59
Re: OnPlayerDisconnect is not executing on my gamemode - by Noles2197 - 26.02.2013, 01:17
Respuesta: Re: OnPlayerDisconnect is not executing on my gamemode - by deb014 - 26.02.2013, 01:42

Forum Jump:


Users browsing this thread: 1 Guest(s)