SET_VEHICLE_COLOURS
colorPrimary & colorSecondary are the paint indexes for the vehicle. For a list of valid paint indexes, view: pastebin.com/pwHci0xK **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_COLOURS](?\_0x4F1D4BE3A7F24601).**
CFX
Signature
lua
SetVehicleColours(GetVehiclePedIsIn(PlayerPedId(), false), 0, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| int | — | |
| int | — |
Usage
lua
SetVehicleColours(GetVehiclePedIsIn(PlayerPedId(), false), 0, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
