Native referenceFiveM

GET_TIME_SINCE_LAST_DEATH

0xC7034807558DDFCA PLAYER
FUNCTION SIGNATURE
int GET_TIME_SINCE_LAST_DEATH(/* parameters not documented */);
Property Value
Native Name GET_TIME_SINCE_LAST_DEATH
Hash 0xC7034807558DDFCA
Return Type int

Description: ``` Returns the time since the character died in (ms) milliseconds.
example
var time = Function.call<int>(Hash.GET_TIME_SINCE_LAST_DEATH();
UI.DrawSubtitle(time.ToString());
if player has not died, the int returned will be -1.

Back to PLAYER