Streaming::requestModel

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Request a model to be loaded into memory

Looking it the disassembly, it seems like it actually returns the model if it's already loaded.

Syntax

mp.game.streaming.requestModel(modelHash);

Required Arguments

  • model: Model hash

Return value

  • Undefined

Example

mp.game.streaming.requestModel(mp.game.joaat('a_f_y_juggalo_01'));

See also

Template:Streaming s function c