{"hash":"0xAFFD0CCF31F469B8","ns":"WEAPON","name":"_GET_WEAPON_FROM_HORSE_HOLSTER","slug":"_GET_WEAPON_FROM_HORSE_HOLSTER","official":false,"named":true,"luaName":"GetWeaponFromHorseHolster","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"horse","type":"Ped"}],"summary":"Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the weapon hash in the horse/mount's first holster slot, or 0 if empty/invalid."},{"source":"vorp","format":"text","body":"Returns the weapon hash stored in the first holster slot of the specified mount.\nreturns 0 if no weapon or invalid"}],"examples":[],"aliases":["_GET_WEAPON_FROM_MOUNT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_FROM_HORSE_HOLSTER","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_FROM_HORSE_HOLSTER.md","snippets":{"lua":"local retval = GetWeaponFromHorseHolster(horse)","luaInvoke":"local retval = Citizen.InvokeNative(0xAFFD0CCF31F469B8, horse, Citizen.ResultAsInteger())","js":"const retval = GetWeaponFromHorseHolster(horse);","jsInvoke":"const retval = Citizen.invokeNative('0xAFFD0CCF31F469B8', horse, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xAFFD0CCF31F469B8, horse);","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."]}}