RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_PLAYER_TIME_IN_PURSUIT

GET_PLAYER_TIME_IN_PURSUIT

``` Gets the amount of time player has spent evading the cops. Counter starts and increments only when cops are chasing the player. If the player is evading, the timer will pause. ```

CFX

Signature

lua
GetPlayerTimeInPursuit(playerSrc, true)
-- returns int

Parameters

NameTypeDescription
char*The target player
BOOLFalse = CurrentPursuit, True = LastPursuit

Usage

lua
GetPlayerTimeInPursuit(playerSrc, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details