18.02.2017, 09:10
Quote:
Just one big question?
Isn't OnPlayerUpdate and some local callbacks being called by timers? OnPlayerUpdate is updating 30 times in 1 second right? So it means that a timer in it has an interval of 33.33ms? which means it's a timer handled callback? Which also means that OnPlayerUpdate can be killed if you guessed the index? or basically write Killtimer(1); if you removed all other timer integrated callbacks? Just wondering |
Isn't the average call time of this OnPlayerUpdate is around what the server.cfg was set for onfoot_rate, incar_rate, and weapon_rate? For example if onfoot_rate is set to 500ms, any on foot player actions (such as walking and animation) will trigger this callback around 500ms too.
Those are external calls (between server and client), i don't think it's called with SetTimer().
There is also the pawn default function timer(),delay(),settimer() which is not included in the sa-mp.