REQUEST_VEHICLE_ASSET
Hash
0x81A15811460FAB3ARuntime name
RequestVehicleAssetNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x81A15811460FAB3ASignature
void REQUEST_VEHICLE_ASSET(Hash vehicleHash, int vehicleAsset);Parameters
| Name | Type | Description |
|---|---|---|
vehicleHash | Hash | — |
vehicleAsset | int | — |
Returns void
Usage
RequestVehicleAsset(vehicleHash, vehicleAsset)
-- always works, by hash
Citizen.InvokeNative(0x81A15811460FAB3A, vehicleHash, vehicleAsset)JavaScript and C#
RequestVehicleAsset(vehicleHash, vehicleAsset);
// by hash
Citizen.invokeNative('0x81A15811460FAB3A', vehicleHash, vehicleAsset);Function.Call((Hash)0x81A15811460FAB3A, vehicleHash, vehicleAsset);- 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`.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.