playstatsDeathInfo
_PLAYSTATS_DEATH_INFO0x01D8B04D02F1217FThe GTA V native _PLAYSTATS_DEATH_INFO of the STATS namespace, as LS:MP client scripts call it: the global function playstatsDeathInfo, in JavaScript and in Lua.
playstatsDeathInfo(
victimPed: Ped,
killerPed: Ped,
mentalState: number,
revengeKill: boolean,
victimKvK: number,
killerKvK: number
): voidplaystatsDeathInfo(
victimPed: Ped,
killerPed: Ped,
mentalState: integer,
revengeKill: boolean,
victimKvK: integer,
killerKvK: 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
playstatsDeathInfo(victimPed, killerPed, mentalState, revengeKill, victimKvK, killerKvK);Lua
playstatsDeathInfo(victimPed, killerPed, mentalState, revengeKill, victimKvK, killerKvK)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
victimPed | Ped | number | integer |
killerPed | Ped | number | integer |
mentalState | int | number | integer |
revengeKill | BOOL | boolean | boolean |
victimKvK | int | number | integer |
killerKvK | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Stats STATS
- In the game
void _PLAYSTATS_DEATH_INFO(Ped victimPed, Ped killerPed, int mentalState, BOOL revengeKill, int victimKvK, int killerKvK)- Hash
0x01D8B04D02F1217F- Introduced
- Game build 3570 legacy numbering