Skip to main content

GET_TIME_SINCE_PLAYER_RAN_LIGHT

Game.GetTimeSincePlayerRanLightHash0x65D95395
Usage
local timeSincePlayerRanLight = Game.GetTimeSincePlayerRanLight(playerIndex)

Returns (in milliseconds) how long ago the player last ran a red light.

Parameters

  • playerIndexintegerint

Returns

  • timeSincePlayerRanLightintegerreturn value
Original declaration
// 0x65D95395
int GET_TIME_SINCE_PLAYER_RAN_LIGHT(int playerIndex);