Skip to main content

GET_TIME_SINCE_PLAYER_HIT_PED

Game.GetTimeSincePlayerHitPedHash0x40602B66
Usage
local timeSincePlayerHitPed = Game.GetTimeSincePlayerHitPed(playerIndex)

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

Parameters

  • playerIndexintegerint

Returns

  • timeSincePlayerHitPedintegerreturn value
Original declaration
// 0x40602B66
int GET_TIME_SINCE_PLAYER_HIT_PED(int playerIndex);