The Lab
VEHICLE native

REQUEST_VEHICLE_ASSET

returns void2 paramsbuild 1207

Requests the vehicle asset for vehicleHash.

Signature

C
void REQUEST_VEHICLE_ASSET(Hash vehicleHash, int vehicleAsset); // 0x81A15811460FAB3A b1207

Parameters

#NameType
1vehicleHashHash
2vehicleAssetint

Facts

Facts about REQUEST_VEHICLE_ASSET
Name
REQUEST_VEHICLE_ASSET
Hash
0x81A15811460FAB3A
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(0x81A15811460FAB3A, -- REQUEST_VEHICLE_ASSET
  GetHashKey("name"), -- Hash vehicleHash
  0 -- int vehicleAsset
)
JavaScript
Citizen.invokeNative("0x81A15811460FAB3A", // REQUEST_VEHICLE_ASSET
  GetHashKey("name"), // Hash vehicleHash
  0 // int vehicleAsset
);
C#
Function.Call((Hash)0x81A15811460FAB3A, // REQUEST_VEHICLE_ASSET
  (uint)API.GetHashKey("name"), // Hash vehicleHash
  0 // int vehicleAsset
);
All VEHICLE natives

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