GET_PLAYER_WANTED_CENTRE_POSITION
Gets the current known coordinates for the specified player from cops perspective. This native is used server side when using OneSync.
CFX
Signature
lua
GetPlayerWantedCentrePosition(playerSrc)
-- returns Vector3Parameters
| Name | Type | Description |
|---|---|---|
| char* | The target player |
Usage
lua
GetPlayerWantedCentrePosition(playerSrc)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
