NetworkClient

getContentToLoadType

GET_CONTENT_TO_LOAD_TYPE0x8B0C2964BA471961

The GTA V native GET_CONTENT_TO_LOAD_TYPE of the NETWORK namespace, as LS:MP client scripts call it: the global function getContentToLoadType, in JavaScript and in Lua.

SignatureJavaScript
getContentToLoadType(): number
SignatureLua
getContentToLoadType(): integer

Usage

JavaScript
const result = getContentToLoadType();
Lua
local result = getContentToLoadType()

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

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

This function is hard-coded to always return 0.

Reference

Namespace
Network NETWORK
In the game
int GET_CONTENT_TO_LOAD_TYPE()
Hash
0x8B0C2964BA471961

Open in the interactive natives reference