The Lab
VEHICLE native

_SET_FORCE_COACH_ROBBERY_LOOT

returns void2 paramsbuild 1207

Forces the loot found when robbing the coach vehicle to coachrobberyLoot.

Signature

C
void _SET_FORCE_COACH_ROBBERY_LOOT(Vehicle vehicle, Hash coachrobberyLoot); // 0xF489F94BFEE12BB0 b1207

Parameters

#NameType
1vehicleVehicle
2coachrobberyLootHash

Facts

Facts about _SET_FORCE_COACH_ROBBERY_LOOT
Name
_SET_FORCE_COACH_ROBBERY_LOOT
Hash
0xF489F94BFEE12BB0
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(0xF489F94BFEE12BB0, -- _SET_FORCE_COACH_ROBBERY_LOOT
  0, -- Vehicle vehicle
  GetHashKey("name") -- Hash coachrobberyLoot
)
JavaScript
Citizen.invokeNative("0xF489F94BFEE12BB0", // _SET_FORCE_COACH_ROBBERY_LOOT
  0, // Vehicle vehicle
  GetHashKey("name") // Hash coachrobberyLoot
);
C#
Function.Call((Hash)0xF489F94BFEE12BB0, // _SET_FORCE_COACH_ROBBERY_LOOT
  0, // Vehicle vehicle
  (uint)API.GetHashKey("name") // Hash coachrobberyLoot
);
All VEHICLE natives

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