getIsPlayerDrivingOnHighway
GET_IS_PLAYER_DRIVING_ON_HIGHWAY0x5FC472C501CCADB3The GTA V native GET_IS_PLAYER_DRIVING_ON_HIGHWAY of the PLAYER namespace, as LS:MP client scripts call it: the global function getIsPlayerDrivingOnHighway, in JavaScript and in Lua.
getIsPlayerDrivingOnHighway(player: Player): booleangetIsPlayerDrivingOnHighway(player: Player): booleanUsage
JavaScript
const result = getIsPlayerDrivingOnHighway(player);Lua
local result = getIsPlayerDrivingOnHighway(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Appears once in "re_dealgonewrong"
Reference
- Namespace
- Player PLAYER
- In the game
BOOL GET_IS_PLAYER_DRIVING_ON_HIGHWAY(Player player)- Hash
0x5FC472C501CCADB3