setPlayerBluetoothState
SET_PLAYER_BLUETOOTH_STATE0x5DC40A8869C22141The GTA V native SET_PLAYER_BLUETOOTH_STATE of the PLAYER namespace, as LS:MP client scripts call it: the global function setPlayerBluetoothState, in JavaScript and in Lua.
setPlayerBluetoothState(player: Player, state: boolean): voidsetPlayerBluetoothState(player: Player, state: boolean)Usage
JavaScript
setPlayerBluetoothState(player, state);Lua
setPlayerBluetoothState(player, state)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
state | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Player PLAYER
- In the game
void SET_PLAYER_BLUETOOTH_STATE(Player player, BOOL state)- Hash
0x5DC40A8869C22141