The Lab
NETWORK native

_SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER

returns void2 paramsbuild 1207

Makes the entity ghosted (non-colliding and translucent) for the local player.

Signature

C
void _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER(Entity entity, BOOL toggle); // 0xEE5AE9956743BA20 b1207

Parameters

#NameType
1entityEntity
2toggleBOOL

Facts

Facts about _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
Name
_SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
Hash
0xEE5AE9956743BA20
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xEE5AE9956743BA20, -- _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
  PlayerPedId(), -- Entity entity
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xEE5AE9956743BA20", // _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
  PlayerPedId(), // Entity entity
  false // BOOL toggle
);
C#
Function.Call((Hash)0xEE5AE9956743BA20, // _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
  API.PlayerPedId(), // Entity entity
  false // BOOL toggle
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.