StreamingClient

requestModelsInRoom

REQUEST_MODELS_IN_ROOM0x8A7A40100EDFEC58

The GTA V native REQUEST_MODELS_IN_ROOM of the STREAMING namespace, as LS:MP client scripts call it: the global function requestModelsInRoom, in JavaScript and in Lua.

SignatureJavaScript
requestModelsInRoom(interior: Interior, roomName: string): void
SignatureLua
requestModelsInRoom(interior: Interior, roomName: string)

Usage

JavaScript
requestModelsInRoom(interior, roomName);
Lua
requestModelsInRoom(interior, roomName)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger
roomNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

requestModelsInRoom(l_13BC, "V_FIB01_cur_elev");
requestModelsInRoom(l_13BC, "limbo");
requestModelsInRoom(l_13BB, "V_Office_gnd_lifts");
requestModelsInRoom(l_13BB, "limbo");
requestModelsInRoom(l_13BC, "v_fib01_jan_elev");
requestModelsInRoom(l_13BC, "limbo");

Reference

Namespace
Streaming STREAMING
In the game
void REQUEST_MODELS_IN_ROOM(Interior interior, const char* roomName)
Hash
0x8A7A40100EDFEC58
Formerly
_REQUEST_INTERIOR_ROOM_BY_NAME

Open in the interactive natives reference