Mobile phoneClient1 output

getMobilePhoneRenderId

GET_MOBILE_PHONE_RENDER_ID0xB4A53E05F68B6FA1

The GTA V native GET_MOBILE_PHONE_RENDER_ID of the MOBILE namespace, as LS:MP client scripts call it: the global function getMobilePhoneRenderId, in JavaScript and in Lua.

SignatureJavaScript
getMobilePhoneRenderId(): number
SignatureLua
getMobilePhoneRenderId(): integer

Usage

JavaScript
const renderId = getMobilePhoneRenderId();
Lua
local renderId = getMobilePhoneRenderId()

Parameters

None. The game writes the output: it is handed back, not passed in.

Returns

The output: the value of the call in JavaScript, the return value in Lua.

#ValueTypeJavaScriptLuaDescription
1renderIdintnumberintegeroutput

Reference

Namespace
Mobile phone MOBILE
In the game
void GET_MOBILE_PHONE_RENDER_ID(int* renderId)
Hash
0xB4A53E05F68B6FA1

Open in the interactive natives reference