Talk:OnPlayerUpdate

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:00, 23 January 2017
RoboN1X (Talk | contribs)
(Average call time)
← Previous diff
Revision as of 10:05, 23 January 2017
RoboN1X (Talk | contribs)
(Average call time)
Next diff →
Line 4: Line 4:
== Average call time == == Average call time ==
-Isn't the average call time of this OnPlayerUpdate should be 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. Just saying that the "30" ms isn't independent time.+Isn't the average call time of this OnPlayerUpdate should be 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. Just saying that the "30" times per second isn't independent time.

Revision as of 10:05, 23 January 2017

PVars

Should consider redoing the examples without PVars. They're too slow. --Vince (Talk) 11:39, 6 August 2013 (CEST)

Average call time

Isn't the average call time of this OnPlayerUpdate should be 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. Just saying that the "30" times per second isn't independent time.