RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_VEHICLE_CUSTOM_PRIMARY_COLOUR

SET_VEHICLE_CUSTOM_PRIMARY_COLOUR

``` p1, p2, p3 are RGB values for color (255,0,0 for Red, ect) ``` **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_CUSTOM_PRIMARY_COLOUR](?\_0x7141766F91D15BEA).**

CFX

Signature

lua
SetVehicleCustomPrimaryColour(GetVehiclePedIsIn(PlayerPedId(), false), 0, 0, 0)
-- returns void

Parameters

NameTypeDescription
Vehicle—
int—
int—
int—

Usage

lua
SetVehicleCustomPrimaryColour(GetVehiclePedIsIn(PlayerPedId(), false), 0, 0, 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