- Documentation
- Client functions
- engineRestreamWorld
Function
engineRestreamWorld
Makes the game reload the world around the player, e.g. after replacing many models.
Syntax
bool engineRestreamWorld()Returns
true on success.
Example
engineRestreamWorld()
See also
engineRestreamAnother name forengineRestreamWorld: reloads the world around the player.engineReplaceModelReplaces the look of a model number: with an engine asset (engineLoadAsset) or a model from a file (engineLoadMesh). Objects, vehicles and peds (skins 0-312; a file model without a skeleton is static) with that number show the new model. An object without its own collision gets one from the.dffor from the model triangles;engineReplaceCOLgives a custom collision. It works for this player, so call it in a client script. Replacing a newengineRequestModelmodel that the game has not created yet (the player is just joining, a resource restart) waits for it; a model number that does not exist givesfalse.