Skip to main content

GET_TIME_SINCE_PLAYER_HIT_OBJECT

Game.GetTimeSincePlayerHitObjectHash0x43C2796B
Usage
local timeSincePlayerHitObject = Game.GetTimeSincePlayerHitObject(playerIndex)

Returns (in milliseconds) how long ago the player (in a car) last hit a object.

Parameters

  • playerIndexintegerint

Returns

  • timeSincePlayerHitObjectintegerreturn value
Original declaration
// 0x43C2796B
int GET_TIME_SINCE_PLAYER_HIT_OBJECT(int playerIndex);