How can I fix that
#6

Just use gettickcount at onplayerupdate and save it in a player's variable and compare it at a timer that counts every few seconds to check if gettickcount > savedticksinvariable+4000 to see when was onplayerupdate last called supposedly its called many times in a second so gettickcount will never be bigger than opu's ticks+4000 only if the player is tabbed (paused) because only then opu is not being updated (called).
Reply


Messages In This Thread
How can I fix that - by None1337 - 27.01.2018, 15:58
Re: How can I fix that - by Sew_Sumi - 27.01.2018, 16:07
Re: How can I fix that - by None1337 - 27.01.2018, 16:08
Re: How can I fix that - by iSteve - 27.01.2018, 16:41
Re: How can I fix that - by Sew_Sumi - 27.01.2018, 21:31
Re: How can I fix that - by RogueDrifter - 27.01.2018, 21:41

Forum Jump:


Users browsing this thread: 1 Guest(s)