031B

From GTAMods Wiki
Revision as of 19:02, 9 October 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|3}} | command = IS_FIRST_CAR_COLOUR | description = Checks if the vehicle's primary color is equal to the color | syntax1 = 031B: &nbsp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III IS_FIRST_CAR_COLOUR


Description
Checks if the vehicle's primary color is equal to the color
Syntax
031B:   car [car handle] primary_color [int]
Parameter
[car handle]
The handle of the vehicle
[int]
Color

This conditional opcode returns true if the vehicle's primary color is equal to the color. This opcode was never called in the original script of GTA III.

Keywords

check, first, primary, car, vehicle, color, colour

See also

  • GTA III 031C, checks if the vehicle's secondary color is equal to the color