isPlayerPressingHorn
IS_PLAYER_PRESSING_HORN0xFA1E2BF8B10598F9The GTA V native IS_PLAYER_PRESSING_HORN of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerPressingHorn, in JavaScript and in Lua.
isPlayerPressingHorn(player: Player): booleanisPlayerPressingHorn(player: Player): booleanUsage
JavaScript
const result = isPlayerPressingHorn(player);Lua
local result = isPlayerPressingHorn(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Player PLAYER
- In the game
BOOL IS_PLAYER_PRESSING_HORN(Player player)- Hash
0xFA1E2BF8B10598F9