Skip to content

GetPlayerTimeInPursuit ​

сервер GET_PLAYER_TIME_IN_PURSUIT

c
int GET_PLAYER_TIME_IN_PURSUIT(char* playerSrc, BOOL lastPursuit);
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.

Параметры ​

  • playerSrc: The target player
  • lastPursuit: False = CurrentPursuit, True = LastPursuit

Возвращает ​

Returns -1, if the player is not wanted or wasn't in pursuit before, depending on the lastPursuit parameter Returns 0, if lastPursuit == False and the player has a wanted level, but the pursuit has not started yet Otherwise, will return the milliseconds of the pursuit.


Страница собрана автоматически из native-decls/GetPlayerTimeInPursuit.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.