_CREATE_DRAFT_VEHICLE
Identical to CREATE_VEHICLE but allows to set draftAnimalPopGroup (see popgroups.#mt for DRAFT_HORSES_*)
VEHICLEBuild 1207
Signature
lua
CreateDraftVehicle(GetHashKey("..."), 0.0, 0.0, 0.0, 0.0, true, true, true, GetHashKey("..."), true)
-- returns VehicleParameters
| Name | Type | Description |
|---|---|---|
| Hash | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — | |
| BOOL | — | |
| BOOL | — | |
| Hash | — | |
| BOOL | — |
Usage
lua
CreateDraftVehicle(GetHashKey("..."), 0.0, 0.0, 0.0, 0.0, true, true, true, GetHashKey("..."), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
