{"hash":"0xC8183AE963C58374","ns":"PLAYER","name":"IS_PLAYER_BEING_ARRESTED","slug":"IS_PLAYER_BEING_ARRESTED","official":true,"named":true,"luaName":"IsPlayerBeingArrested","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"},{"name":"atArresting","type":"BOOL"}],"summary":"Return true while player is being arrested / busted.","descriptions":[{"source":"alloc8or","format":"text","body":"Return true while player is being arrested / busted.\n\nIf atArresting is set to 1, this function will return 1 when player is being arrested (while player is putting his hand up, but still have control)\n\nIf atArresting is set to 0, this function will return 1 only when the busted screen is shown."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x388A47C51ABDAC8E","gtaJhash":"0x7F6A60D3","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_BEING_ARRESTED","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_BEING_ARRESTED.md","snippets":{"lua":"local retval = IsPlayerBeingArrested(player, atArresting)","luaInvoke":"local retval = Citizen.InvokeNative(0xC8183AE963C58374, player, atArresting, Citizen.ReturnResultAnyway())","js":"const retval = IsPlayerBeingArrested(player, atArresting);","jsInvoke":"const retval = Citizen.invokeNative('0xC8183AE963C58374', player, atArresting, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xC8183AE963C58374, player, atArresting);","notes":[]}}