RedM Natives

SET_LOCAL_PLAYER_AS_GHOST

Old name: _SET_LOCAL_PLAYER_AS_GHOST

Hash0x5FFE9B4144F9712F
Runtime nameSetLocalPlayerAsGhost
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5FFE9B4144F9712F

Signature

void SET_LOCAL_PLAYER_AS_GHOST(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

Old name: _SET_LOCAL_PLAYER_AS_GHOST

Usage

Lua
SetLocalPlayerAsGhost(toggle)

-- always works, by hash
Citizen.InvokeNative(0x5FFE9B4144F9712F, toggle)
JavaScript and C#
JavaScript
SetLocalPlayerAsGhost(toggle);

// by hash
Citizen.invokeNative('0x5FFE9B4144F9712F', toggle);
C#
Function.Call((Hash)0x5FFE9B4144F9712F, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.