getDefaultScriptRendertargetRenderId
GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID0x52F0982D7FD156B6The GTA V native GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID of the HUD namespace, as LS:MP client scripts call it: the global function getDefaultScriptRendertargetRenderId, in JavaScript and in Lua.
getDefaultScriptRendertargetRenderId(): numbergetDefaultScriptRendertargetRenderId(): integerUsage
JavaScript
const result = getDefaultScriptRendertargetRenderId();Lua
local result = getDefaultScriptRendertargetRenderId()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
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 1.
Reference
- Namespace
- HUD HUD
- In the game
int GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID()- Hash
0x52F0982D7FD156B6