-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IsPlayerPaused returns wrong result #43
Comments
Just remember, lag can cause that! |
It always happens at the point. Let's say it is because of lag, can i increase the AFK time limit or should i jsut use GetPlayerPausedTime and find a good value myself? |
This! IsPlayerPaused tells us if the player isn't updating for some pre-chosen time, GetPlayerPausedTime tells us how long ago the player was updating. Also, there is a SetAFKAccuracy/GetAFKAccuracy already in the source, perhaps it should be made a native. |
@Crayder Those functions are registered as natives, too. |
These natives already in inc too loo |
Huh, I never noticed them... damn... xD |
Sometimes returns true, even tho the player is not paused at all.
What did i do when it occured? I removed his vehicle, removed all streamed objects(icognito Streamer), loaded new objects and tried to spawn him with "IsPlayerPaused"as condition. At that point and time he was: Spawned, Onfoot, not paused
The text was updated successfully, but these errors were encountered: