setPlayerVisibleLocally
SET_PLAYER_VISIBLE_LOCALLY0xFAA10F1FAFB11AF2The GTA V native SET_PLAYER_VISIBLE_LOCALLY of the NETWORK namespace, as LS:MP client scripts call it: the global function setPlayerVisibleLocally, in JavaScript and in Lua.
setPlayerVisibleLocally(player: Player, bIncludePlayersVehicle: boolean): voidsetPlayerVisibleLocally(player: Player, bIncludePlayersVehicle: boolean)Usage
JavaScript
setPlayerVisibleLocally(player, bIncludePlayersVehicle);Lua
setPlayerVisibleLocally(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_VISIBLE_LOCALLY(Player player, BOOL bIncludePlayersVehicle)- Hash
0xFAA10F1FAFB11AF2