RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_VEHICLE_COLOUR_COMBINATION

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 void

Parameters

NameTypeDescription
VehicleThe vehicle to modify.
intOne 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

On this page

  • Signature
  • Parameters
  • Usage
  • Details