09.12.2010, 18:37
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.
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.