Timer vs OnPlayerUpdate
#1

Hey ppl,
There is this question that is kinda stuck in my head and I can't really decide/findout which one is better
in general, for checks with a repetition of around ~1 sec, which one is more efficient ? checkin with OnPlayerUpdate and maybe using a timestamp variable to stop the madness of 30 updates a sec or timers ?

Examples of usage in question:
1- Speedometer
2- Usual hack checks (money/health/armour etc.)
3-Not totally related but: the SetPlayerCameraPos on OnPlayerConnect solution ?
4-Looking for a car crash
etc.

At this very moment I'm looking at a couple speedometers released on forums and some use timers, some use onplayerupdate, not sure which way I should go, all those experienced enough would love to hear your answers or even better, new suggestions on a 3rd option.
Reply


Messages In This Thread
Timer vs OnPlayerUpdate - by PrO.GameR - 18.10.2015, 21:33
Re: Timer vs OnPlayerUpdate - by Vince - 18.10.2015, 22:52
Re: Timer vs OnPlayerUpdate - by PrO.GameR - 19.10.2015, 09:43
Respuesta: Timer vs OnPlayerUpdate - by xXmAn40100Xx - 20.10.2015, 01:24

Forum Jump:


Users browsing this thread: 2 Guest(s)