{"hash":"0x2009F8AB7A5E9D6D","ns":"PLAYER","name":"_IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE","slug":"_IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE","official":false,"named":true,"luaName":"IsPlayerLockedOnEntityOnHorse","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"}],"summary":"Checks if the player has locked onto an entity while on horseback.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks if the player has locked onto an entity while on horseback.\nThis function checks only the lock-on status and does not trigger any additional behavior.\nImages: https://imgur.com/gallery/0x2009f8ab7a5e9d6d-0xWIXcK"},{"source":"vorp","format":"text","body":"This native is used to determine if the player has an active lockon an entity while riding a horse."}],"examples":[],"aliases":["_IS_PLAYER_ON_MOUNT_LOCKON_ENTITY"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE.md","snippets":{"lua":"local retval = IsPlayerLockedOnEntityOnHorse(player)","luaInvoke":"local retval = Citizen.InvokeNative(0x2009F8AB7A5E9D6D, player, Citizen.ReturnResultAnyway())","js":"const retval = IsPlayerLockedOnEntityOnHorse(player);","jsInvoke":"const retval = Citizen.invokeNative('0x2009F8AB7A5E9D6D', player, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x2009F8AB7A5E9D6D, player);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}