EngineSetAsynchronousLoading
From Multi Theft Auto: Wiki
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-- TODOSee Also
- engineImportTXD
- engineLoadCOL
- engineLoadDFF
- engineLoadTXD
- engineReplaceCOL
- engineReplaceModel
- engineRestoreCOL
- engineRestoreModel
- engineSetAsynchronousLoading
- engineSetModelLODDistance
- engineApplyShaderToWorldTexture
- engineRemoveShaderFromWorldTexture
- engineGetModelNameFromID
- engineGetModelIDFromName
- engineGetVisibleTextureNames