SET_VEHICLE_COLOUR_COMBINATION
Sets the selected vehicle's colors to their default value (specific variant specified using the colorCombination parameter). Range of possible values for colorCombination is currently unknown, I couldn't find where these values are stored either (Disquse's guess was vehicles.meta but I haven't seen it in there.) **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_COLOUR_COMBINATION](?\_0x33E8CD3322E2FE31).**
CFX
Signature
lua
SetVehicleColourCombination(GetVehiclePedIsIn(PlayerPedId(), false), 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | The vehicle to modify. | |
| int | One of the default color values of the vehicle. |
Usage
lua
SetVehicleColourCombination(GetVehiclePedIsIn(PlayerPedId(), false), 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
