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 intParameters
| Name | Type | Description |
|---|---|---|
| char* | The target player | |
| BOOL | False = 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
