[Tutorial] Securing RCON
#4

Quote:
Originally Posted by Yashas
Посмотреть сообщение
Код:
public OnPlayerRconLogin(playerid)
{
    if(!IsPlayerConnected(playerid)) return 0;
Why is "IsPlayerConnected" required here?Since OnPlayerRconLogin is called when a player logins, the player obviously has to be connected.
OnPlayerRconLogin is followed by a timer since version 2. There's some sort of cheats which can set up disconnections, so the IP readings might give false output. This is why I've included such a verification.
Reply


Messages In This Thread
Securing RCON - by Lordzy - 08.03.2014, 10:46
Re: Securing RCON - by Lordzy - 08.03.2014, 10:49
Re: Securing RCON - by Yashas - 08.03.2014, 10:56
Re: Securing RCON - by Lordzy - 08.03.2014, 10:59
Re: Securing RCON - by Misiur - 08.03.2014, 11:48
Re: Securing RCON - by kristo - 08.03.2014, 14:04
Re: Securing RCON - by Lordzy - 08.03.2014, 15:01
Re: Securing RCON - by Vince - 08.03.2014, 16:04
Re: Securing RCON - by Lordzy - 08.03.2014, 16:10
Re: Securing RCON - by Lordzy - 09.03.2014, 05:10

Forum Jump:


Users browsing this thread: 2 Guest(s)