0216

From GTAMods Wiki
Revision as of 00:32, 15 July 2015 by Spaceeinstein (talk | contribs) (Created page with "thumb|300px|A Cabbie with its roof light switched on {{Icon|t}} '''SET_TAXI_LIGHTS''' <hr /> '''Description''' : Sets the taxi roof light '''Syntax''' : 0216...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
A Cabbie with its roof light switched on

GTA III Vice City San Andreas SET_TAXI_LIGHTS


Description

Sets the taxi roof light

Syntax

0216: set_car [car handle] taxi_available_light_to [int]

Parameter

[car handle]
The handle of the vehicle
[int]
0 = roof light off (default), 1 = roof light on

This opcode sets the roof light of the taxi. It has no effect on vehicles without a roof light. Roof lights are coronas with the "coronastar" texture, RGB value 128,128,0 (yellow), size 0.8, and emit yellow light on entities. The roof light switches off when the vehicle explodes but calling the opcode again can switch back on the roof light on the wrecked vehicle.

Keywords

set, toggle, taxi, cab, cabbie, available, light, lights