{"hash":"0x586F80FF","ns":"CFX","name":"GET_PLAYER_FOCUS_POS","slug":"GET_PLAYER_FOCUS_POS","official":true,"named":true,"luaName":"GetPlayerFocusPos","game":"cfx","apiset":"server","returnType":"Vector3","params":[{"name":"playerSrc","type":"char*","description":"The player to get the focus position of"}],"returnsDescription":"Returns a `Vector3` containing the focus position of the player.","summary":"Gets the focus position (i.e.","descriptions":[{"source":"cfx","format":"md","body":"Gets the focus position (i.e. the position of the active camera in the game world) of a player."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FOCUS_POS","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_FOCUS_POS.md","snippets":{"lua":"local retval = GetPlayerFocusPos(playerSrc)","luaInvoke":"local retval = Citizen.InvokeNative(0x586f80ff, playerSrc, Citizen.ResultAsVector())","js":"const retval = GetPlayerFocusPos(playerSrc);","jsInvoke":"const retval = Citizen.invokeNative('0x586f80ff', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x586f80ff, playerSrc);","notes":[]}}