setPlayerInvisibleLocally
SET_PLAYER_INVISIBLE_LOCALLY0x12B37D54667DB0B8The GTA V native SET_PLAYER_INVISIBLE_LOCALLY of the NETWORK namespace, as LS:MP client scripts call it: the global function setPlayerInvisibleLocally, in JavaScript and in Lua.
setPlayerInvisibleLocally(
player: Player,
bIncludePlayersVehicle: boolean
): voidsetPlayerInvisibleLocally(player: Player, bIncludePlayersVehicle: boolean)Usage
JavaScript
setPlayerInvisibleLocally(player, bIncludePlayersVehicle);Lua
setPlayerInvisibleLocally(player, bIncludePlayersVehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
bIncludePlayersVehicle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void SET_PLAYER_INVISIBLE_LOCALLY(Player player, BOOL bIncludePlayersVehicle)- Hash
0x12B37D54667DB0B8