The Lab
TASK native

END_DUEL

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Ends the duel ped is taking part in.

Signature

C
void END_DUEL(Ped ped, BOOL p1, float p2); // 0xEED08A3A98B847E2 b1207

Parameters

#NameType
1pedPed
2p1BOOL
3p2float

Facts

Facts about END_DUEL
Name
END_DUEL
Hash
0xEED08A3A98B847E2
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xEED08A3A98B847E2, -- END_DUEL
  PlayerPedId(), -- Ped ped
  false, -- BOOL p1
  0.0 -- float p2
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xEED08A3A98B847E2", // END_DUEL
  PlayerPedId(), // Ped ped
  false, // BOOL p1
  0.0 // float p2
);
C#
Function.Call((Hash)0xEED08A3A98B847E2, // END_DUEL
  API.PlayerPedId(), // Ped ped
  false, // BOOL p1
  0.0f // float p2
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.