Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by Luicy.
OnPlayerFullyConnect
Now, there is OnPlayerConnect, but that calls on the second connection, not the third where "Connected to: name.", That's when the server can handle the connections with the client such as dialogs responses etc, this will also work with InterpolateCamera
PHP Code:
forward OnPlayerFullyConnect(playerid);
public OnPlayerConnect(playerid)
SetTimerEx("OnPlayerFullyConnect", 0001, false, "i", playerid);
public OnPlayerFullyConnect(playerid) {
..
}
This is a simple code, but people has been struggling with this problem where a player connect, and receives the login dialog, and they type their password really really fast, then they need to wait a few seconds depending on the server connection rate with the client.
|
Emmet's No Class Selection include does this and better.