StatsClientNot in this build

playstatsVehDel

PLAYSTATS_VEH_DEL0x10A691F5756416D0

The GTA V native PLAYSTATS_VEH_DEL of the STATS namespace, as LS:MP client scripts call it: the global function playstatsVehDel, in JavaScript and in Lua.

SignatureJavaScript
playstatsVehDel(
  bossId1: number,
  bossId2: number,
  bossType: number,
  vehicleID: number,
  reason: number
): void
SignatureLua
playstatsVehDel(
  bossId1: integer,
  bossId2: integer,
  bossType: integer,
  vehicleID: integer,
  reason: integer
)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
playstatsVehDel(bossId1, bossId2, bossType, vehicleID, reason);
Lua
playstatsVehDel(bossId1, bossId2, bossType, vehicleID, reason)

Parameters

ParameterTypeJavaScriptLua
bossId1intnumberinteger
bossId2intnumberinteger
bossTypeintnumberinteger
vehicleIDintnumberinteger
reasonintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Stats STATS
In the game
void PLAYSTATS_VEH_DEL(int bossId1, int bossId2, int bossType, int vehicleID, int reason)
Hash
0x10A691F5756416D0
Introduced
Game build 2944 legacy numbering

Open in the interactive natives reference