RedM Natives

_SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION

Hash0x87344305778E5415
Runtime nameSetDraftVehicleAllowDraftAnimalAutoCreation
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION(Vehicle vehicle, BOOL allow);

Parameters

NameTypeDescription
vehicleVehicle—
allowBOOL—

Returns void

Usage

Lua
SetDraftVehicleAllowDraftAnimalAutoCreation(vehicle, allow)

-- always works, by hash
Citizen.InvokeNative(0x87344305778E5415, vehicle, allow)
JavaScript and C#
JavaScript
SetDraftVehicleAllowDraftAnimalAutoCreation(vehicle, allow);

// by hash
Citizen.invokeNative('0x87344305778E5415', vehicle, allow);
C#
Function.Call((Hash)0x87344305778E5415, vehicle, allow);
  • 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.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.