setEntityGhostedForGhostPlayers
SET_ENTITY_GHOSTED_FOR_GHOST_PLAYERS0x4BA166079D658ED4The GTA V native SET_ENTITY_GHOSTED_FOR_GHOST_PLAYERS of the NETWORK namespace, as LS:MP client scripts call it: the global function setEntityGhostedForGhostPlayers, in JavaScript and in Lua.
setEntityGhostedForGhostPlayers(entity: Entity, toggle: boolean): voidsetEntityGhostedForGhostPlayers(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityGhostedForGhostPlayers(entity, toggle);Lua
setEntityGhostedForGhostPlayers(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void SET_ENTITY_GHOSTED_FOR_GHOST_PLAYERS(Entity entity, BOOL toggle)- Hash
0x4BA166079D658ED4- Introduced
- Game build 944 legacy numbering
- Formerly
_NETWORK_SET_ENTITY_GHOSTED_WITH_OWNER