HUDClient

isNamedRendertargetRegistered

IS_NAMED_RENDERTARGET_REGISTERED0x78DCDC15C9F116B4

The GTA V native IS_NAMED_RENDERTARGET_REGISTERED of the HUD namespace, as LS:MP client scripts call it: the global function isNamedRendertargetRegistered, in JavaScript and in Lua.

SignatureJavaScript
isNamedRendertargetRegistered(name: string): boolean
SignatureLua
isNamedRendertargetRegistered(name: string): boolean

Usage

JavaScript
const result = isNamedRendertargetRegistered(name);
Lua
local result = isNamedRendertargetRegistered(name)

Parameters

ParameterTypeJavaScriptLua
namestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL IS_NAMED_RENDERTARGET_REGISTERED(const char* name)
Hash
0x78DCDC15C9F116B4

Open in the interactive natives reference