PlayerClient

getIsPlayerDrivingWreckless

GET_IS_PLAYER_DRIVING_WRECKLESS0xF10B44FD479D69F3

The GTA V native GET_IS_PLAYER_DRIVING_WRECKLESS of the PLAYER namespace, as LS:MP client scripts call it: the global function getIsPlayerDrivingWreckless, in JavaScript and in Lua.

SignatureJavaScript
getIsPlayerDrivingWreckless(player: Player, p1: number): boolean
SignatureLua
getIsPlayerDrivingWreckless(player: Player, p1: integer): boolean

Usage

JavaScript
const result = getIsPlayerDrivingWreckless(player, p1);
Lua
local result = getIsPlayerDrivingWreckless(player, p1)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
p1intnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Only 1 occurrence. p1 was 2.

Reference

Namespace
Player PLAYER
In the game
BOOL GET_IS_PLAYER_DRIVING_WRECKLESS(Player player, int p1)
Hash
0xF10B44FD479D69F3

Open in the interactive natives reference