OnPlayerUpdate
#4

Quote:
Originally Posted by Joe_
View Post
I don't see afk become true?
Code:
forward AFKTimer();
public AFKTimer()
{
    if (IsPlayerConnected(0))
    {
        if (afk)
            SendClientMessageToAll(0xFFFFFFAA, "AFK!");
        afk = true;//Can you see it now?
    }
}
@TheHoodRat: Yes, and what is your problem now?

Anyway, this is just a test script. The thread is about the bug.
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)