{"hash":"0x08FF1099ED2E6E21","ns":"WEAPON","name":"_GET_DEFAULT_UNARMED_WEAPON_HASH","slug":"_GET_DEFAULT_UNARMED_WEAPON_HASH","official":false,"named":true,"luaName":"GetDefaultUnarmedWeaponHash","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the ped's default unarmed weapon hash as defined in CPedModelInfo (DefaultUnarmedWeapon).","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the ped's default unarmed weapon hash as defined in CPedModelInfo (DefaultUnarmedWeapon).\nFalls back to WEAPON_UNARMED if the ped doesn't have a valid model info pointer, or 0 if the ped doesn't exist."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_DEFAULT_UNARMED_WEAPON_HASH","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_DEFAULT_UNARMED_WEAPON_HASH.md","snippets":{"lua":"local retval = GetDefaultUnarmedWeaponHash(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x08FF1099ED2E6E21, ped, Citizen.ResultAsInteger())","js":"const retval = GetDefaultUnarmedWeaponHash(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x08FF1099ED2E6E21', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x08FF1099ED2E6E21, ped);","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."]}}