0216

From GTAMods Wiki
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. This only has an effect on taxi vehicles. 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