StatsClientNot in this build

playstatsDeathInfo

_PLAYSTATS_DEATH_INFO0x01D8B04D02F1217F

The 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.

SignatureJavaScript
playstatsDeathInfo(
  victimPed: Ped,
  killerPed: Ped,
  mentalState: number,
  revengeKill: boolean,
  victimKvK: number,
  killerKvK: number
): void
SignatureLua
playstatsDeathInfo(
  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

ParameterTypeJavaScriptLua
victimPedPednumberinteger
killerPedPednumberinteger
mentalStateintnumberinteger
revengeKillBOOLbooleanboolean
victimKvKintnumberinteger
killerKvKintnumberinteger

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

Open in the interactive natives reference