Game Processing Order

From Multi Theft Auto: Wiki
Revision as of 00:38, 22 March 2012 by Ccw (talk | contribs) (Created page with "left|caption == Game processing order == Here is an overview to show the order in which things get done during an average frame of playing MTA. Th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
caption

Game processing order

Here is an overview to show the order in which things get done during an average frame of playing MTA.

The onClientPreRender event is triggered after GTA updates the world, and is the ideal place to do dxDraws that are in some way attached to world elements.

The onClientHUDRender event is triggered before GTA renders the in-game HUD, so it the best place to apply any full screen effects that you want 'behind' the HUD.