{"hash":"0x44C8F4908F1B2622","ns":"WEAPON","name":"_EXPLODE_PED_AMMO_TYPE","slug":"_EXPLODE_PED_AMMO_TYPE","official":false,"named":true,"luaName":"ExplodePedAmmoType","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"ammoHash","type":"Hash"}],"summary":"Triggers detonation/effect for a specific throwable ammo type associated with the given ped (commonly used to remotely detonate placed dynamite).","descriptions":[{"source":"alloc8or","format":"text","body":"Triggers detonation/effect for a specific throwable ammo type associated with the given ped (commonly used to remotely detonate placed dynamite).\nKnown ammo hashes seen in scripts:\n- AMMO_DYNAMITE\n- AMMO_MOLOTOV\n- AMMO_POISONBOTTLE\nNotes:\n- Only affects throwables of that ammo type that are attributable to the ped (i.e., their placed/owned instances)."},{"source":"vorp","format":"text","body":"Forces the detonation or effect of a throwable ammo type owned or placed by the specified ped.\nCommonly used for remotely exploding dynamite that belong to the ped.\nammoHashes:\n- joaat(\"AMMO_DYNAMITE\")\n- joaat(\"AMMO_MOLOTOV\")\n- joaat(\"AMMO_POISONBOTTLE\")"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_EXPLODE_PED_AMMO_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_EXPLODE_PED_AMMO_TYPE.md","snippets":{"lua":"local retval = ExplodePedAmmoType(ped, ammoHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x44C8F4908F1B2622, ped, ammoHash, Citizen.ReturnResultAnyway())","js":"const retval = ExplodePedAmmoType(ped, ammoHash);","jsInvoke":"const retval = Citizen.invokeNative('0x44C8F4908F1B2622', ped, ammoHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x44C8F4908F1B2622, ped, ammoHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}