_GET_NUM_DRAFT_VEHICLE_HARNESS_PED
Returns number of horses a wagon can have
Hash
0x5B1A26BB18E7D451Runtime name
GetNumDraftVehicleHarnessPedNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_NUM_DRAFT_VEHICLE_HARNESS_PED(Hash modelHash);Parameters
| Name | Type | Description |
|---|---|---|
modelHash | Hash | — |
Returns int
Description
Returns number of horses a wagon can have
femga rdr3_discoveries · research notes
0x5b1a26bb18e7d451 (by Nikez)
Found this hash -- this will return an int with the number of horses a wagon can have. Pass in the hashkey of the vehicle you want to check.
Function.Call<int>((Hash)0x5b1a26bb18e7d451, wagonHash);Usage
local retval = GetNumDraftVehicleHarnessPed(modelHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5B1A26BB18E7D451, modelHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumDraftVehicleHarnessPed(modelHash);
// by hash
const retval = Citizen.invokeNative('0x5B1A26BB18E7D451', modelHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x5B1A26BB18E7D451, modelHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · femga rdr3_discoveries
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.