getMobilePhoneRenderId
GET_MOBILE_PHONE_RENDER_ID0xB4A53E05F68B6FA1The 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.
getMobilePhoneRenderId(): numbergetMobilePhoneRenderId(): integerUsage
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.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | renderId | int | number | integer | output |
Reference
- Namespace
- Mobile phone MOBILE
- In the game
void GET_MOBILE_PHONE_RENDER_ID(int* renderId)- Hash
0xB4A53E05F68B6FA1