031B
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:  ...")
- 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
- 031C, checks if the vehicle's secondary color is equal to the color