{"hash":"0x433C765D","ns":"CFX","name":"GET_PLAYER_CAMERA_ROTATION","slug":"GET_PLAYER_CAMERA_ROTATION","official":true,"named":true,"luaName":"GetPlayerCameraRotation","game":"cfx","apiset":"server","returnType":"Vector3","params":[{"name":"playerSrc","type":"char*","description":"The player handle."}],"returnsDescription":"The player's camera rotation. Values are in radians.","summary":"Gets the current camera rotation for a specified player.","descriptions":[{"source":"cfx","format":"md","body":"Gets the current camera rotation for a specified player. 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_CAMERA_ROTATION","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_CAMERA_ROTATION.md","snippets":{"lua":"local retval = GetPlayerCameraRotation(playerSrc)","luaInvoke":"local retval = Citizen.InvokeNative(0x433c765d, playerSrc, Citizen.ResultAsVector())","js":"const retval = GetPlayerCameraRotation(playerSrc);","jsInvoke":"const retval = Citizen.invokeNative('0x433c765d', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x433c765d, playerSrc);","notes":[]}}