EngineSetAsynchronousLoading

From Multi Theft Auto: Wiki

Jump to: navigation, 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

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