OnPlayerUpdate
#8

I prefer SendClientMessageToAll when debugging.

Now, back to the topic:

I didn't say, that OnPlayerUpdate is not called, when he is not moving, cause it is.

But it is not called, when he is not pressing any keys (it doesn't matter if he is moving, he could be frozen) and he has attached a trailer to his vehicle, thats the point!

How I discovered this:
I made a script, where players have to drive to a filling station with tanker truck and petrol trailer.
When players start filling, they get frozen for 30 seconds. (But they can still exit the truck)
I also have an afk timer, which darkens the player color.
Guess, what will happen, when they start filling!
They are handled as being afk, even if they are not.
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)