EngineSetAsynchronousLoading

From Multi Theft Auto: Wiki
Revision as of 15:40, 11 June 2010 by Ccw (talk | contribs) (Created page with '{{Client function}} __NOTOC__ This function enables or disables asynchronous model loading. Enabling asynchronous model loading may reduce the small pauses that occur when a new …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function enables or disables asynchronous model loading. Enabling asynchronous model loading may reduce the small pauses that occur when a new model is displayed for the first time. However, it can cause the new models to appear slightly later than they might have otherwise.

Syntax

bool engineSetAsynchronousLoading ( bool enable, bool force ) 

Required Arguments

  • enable: Set to true/false to enable/disable asynchronous loading. Only works if the client's preferences has 'Asynchronous Loading' set to 'Auto'
  • force: If set to true, ignores the client's preferences.

Returns

Returns true if the function executed successfully, false otherwise.

Example

Click to collapse [-]
Client
-- TODO

See Also