playstatsVehDel
PLAYSTATS_VEH_DEL0x10A691F5756416D0The 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.
playstatsVehDel(
bossId1: number,
bossId2: number,
bossType: number,
vehicleID: number,
reason: number
): voidplaystatsVehDel(
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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
bossId1 | int | number | integer |
bossId2 | int | number | integer |
bossType | int | number | integer |
vehicleID | int | number | integer |
reason | int | number | integer |
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