OnPlayerUpdate
#5

pawn Code:
forward AFKTimer();
public AFKTimer()
{
    if (IsPlayerConnected(0)) // What is the "0" number?
    {
        if (afk)
            SendClientMessageToAll(0xFFFFFFAA, "AFK!");
        afk = true;
    }
}
Reply


Messages In This Thread
OnPlayerUpdate not working when trailer attached and not moving - by Cypog - 23.11.2010, 07:39
Re: OnPlayerUpdate - by Joe_ - 28.11.2010, 10:31
Re: OnPlayerUpdate not working when trailer attached and not moving - by TheHoodRat - 28.11.2010, 17:58
Re: OnPlayerUpdate - by Cypog - 28.11.2010, 23:08
Re: OnPlayerUpdate - by Basicz - 05.12.2010, 22:09
Re: OnPlayerUpdate not working when trailer attached and not moving - by MrDeath537 - 06.12.2010, 02:12
Re: OnPlayerUpdate - by BLAbla93 - 06.12.2010, 11:20
Re: OnPlayerUpdate - by Cypog - 09.12.2010, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)