{"hash":"0x821F2D2C","ns":"CFX","name":"GET_PLAYER_WANTED_CENTRE_POSITION","slug":"GET_PLAYER_WANTED_CENTRE_POSITION","official":true,"named":true,"luaName":"GetPlayerWantedCentrePosition","game":"cfx","apiset":"server","returnType":"Vector3","params":[{"name":"playerSrc","type":"char*","description":"The target player"}],"returnsDescription":"The player's position known by police. Vector zero if the player has no wanted level.","summary":"Gets the current known coordinates for the specified player from cops perspective.","descriptions":[{"source":"cfx","format":"md","body":"Gets the current known coordinates for the specified player from cops perspective. This native is used server side when using OneSync."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_WANTED_CENTRE_POSITION","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_WANTED_CENTRE_POSITION.md","snippets":{"lua":"local retval = GetPlayerWantedCentrePosition(playerSrc)","luaInvoke":"local retval = Citizen.InvokeNative(0x821f2d2c, playerSrc, Citizen.ResultAsVector())","js":"const retval = GetPlayerWantedCentrePosition(playerSrc);","jsInvoke":"const retval = Citizen.invokeNative('0x821f2d2c', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x821f2d2c, playerSrc);","notes":[]}}