RedM Natives

_SET_FORCE_COACH_ROBBERY_LOOT

Hash0xF489F94BFEE12BB0
Runtime nameSetForceCoachRobberyLoot
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_FORCE_COACH_ROBBERY_LOOT(Vehicle vehicle, Hash coachrobberyLoot);

Parameters

NameTypeDescription
vehicleVehicle—
coachrobberyLootHash—

Returns void

Description

Hashes: COACH2_BOOT_LOOT_ITEMS_COACHROB_RSC, COACH2_BOOT_LOOT_ITEMS_COACHROB, COACH2_MARY3

Usage

Lua
SetForceCoachRobberyLoot(vehicle, coachrobberyLoot)

-- always works, by hash
Citizen.InvokeNative(0xF489F94BFEE12BB0, vehicle, coachrobberyLoot)
JavaScript and C#
JavaScript
SetForceCoachRobberyLoot(vehicle, coachrobberyLoot);

// by hash
Citizen.invokeNative('0xF489F94BFEE12BB0', vehicle, coachrobberyLoot);
C#
Function.Call((Hash)0xF489F94BFEE12BB0, vehicle, coachrobberyLoot);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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