RedM Natives

_SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER

Hash0xEE5AE9956743BA20
Runtime nameSetEntityGhostedToLocalPlayer
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER(Entity entity, BOOL toggle);

Parameters

NameTypeDescription
entityEntity—
toggleBOOL—

Returns void

Usage

Lua
SetEntityGhostedToLocalPlayer(entity, toggle)

-- always works, by hash
Citizen.InvokeNative(0xEE5AE9956743BA20, entity, toggle)
JavaScript and C#
JavaScript
SetEntityGhostedToLocalPlayer(entity, toggle);

// by hash
Citizen.invokeNative('0xEE5AE9956743BA20', entity, toggle);
C#
Function.Call((Hash)0xEE5AE9956743BA20, entity, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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