The Lab
VEHICLE native

_SET_DRAFT_VEHICLE_YOKE_CAN_BREAK

returns void2 paramsbuild 1207

Sets whether the yoke of draft can break.

Signature

C
void _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK(Vehicle draft, BOOL canBreak); // 0x226C6A4E3346D288 b1207

Parameters

#NameType
1draftVehicle
2canBreakBOOL

Facts

Facts about _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
Name
_SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
Hash
0x226C6A4E3346D288
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(0x226C6A4E3346D288, -- _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
  0, -- Vehicle draft
  false -- BOOL canBreak
)
JavaScript
Citizen.invokeNative("0x226C6A4E3346D288", // _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
  0, // Vehicle draft
  false // BOOL canBreak
);
C#
Function.Call((Hash)0x226C6A4E3346D288, // _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
  0, // Vehicle draft
  false // BOOL canBreak
);
All VEHICLE natives

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