{"hash":"0x74C8000FDD1BB111","ns":"WEAPON","name":"_GET_PROJECTILE_IGNITED_IN_VOLUME","slug":"_GET_PROJECTILE_IGNITED_IN_VOLUME","official":false,"named":true,"luaName":"GetProjectileIgnitedInVolume","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"volume","type":"Volume"},{"name":"outEntity","type":"Entity*"}],"summary":"Finds an ignited (lit/fused) explosive projectile inside a Volume.","descriptions":[{"source":"alloc8or","format":"text","body":"Finds an ignited (lit/fused) explosive projectile inside a Volume.\n\nParameters:\n- volume: Search volume.\n- outEntity: [out] Receives the projectile Entity handle.\n\nReturns:\n- BOOL: true if an ignited projectile was found (outEntity set), false otherwise.\n\nNotes:\n- Intended for explosives with a fuse/ignition state (e.g., lit dynamite).\n- If multiple ignited projectiles are present, returns the first match.\n- Requires a valid Volume; delete it when done.\n- Lua example: https://pastebin.com/N9p4anLU \n\n_GET_PO*"},{"source":"vorp","format":"text","body":"Returns the first ignited (lit/fused) explosive projectile entity found within the specified Volume.\nSimilar to WEAPON::_GET_FIRST_PROJECTILE_IN_VOLUME (0x74C8000FDD1BB222), but only returns projectiles that are currently ignited (e.g., a lit dynamite about to explode)."}],"examples":[],"aliases":["_GET_IGNITED_PROJECTILE_IN_VOLUME"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_PROJECTILE_IGNITED_IN_VOLUME","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_PROJECTILE_IGNITED_IN_VOLUME.md","snippets":{"lua":"local retval, outEntity = GetProjectileIgnitedInVolume(volume, outEntity)","luaInvoke":"local retval, outEntity = Citizen.InvokeNative(0x74C8000FDD1BB111, volume, Citizen.PointerValueIntInitialized(outEntity), Citizen.ReturnResultAnyway())","js":"const [retval, outEntity] = GetProjectileIgnitedInVolume(volume, outEntity);","jsInvoke":"const [retval, outEntity] = Citizen.invokeNative('0x74C8000FDD1BB111', volume, Citizen.pointerValueIntInitialized(outEntity), Citizen.returnResultAnyway());","csharp":"var outEntity = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x74C8000FDD1BB111, volume, outEntity);\n// outEntity.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","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."]}}