Difference between revisions of "SET TAXI LIGHTS"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: '''SET_TAXI_LIGHTS''' [VEHICLE, VALUE] VEHICLE - represents vehicle handle VALUE - Probably boolean, 0 - of, 1 - on. Explanation: - Set TaxiLight of selected taxi vehicle. ' NOTE TH...)
 
Line 1: Line 1:
'''SET_TAXI_LIGHTS''' [VEHICLE, VALUE]
+
{{Native
 +
|np=2
 +
|np=1
 +
|p1t=pointer
 +
|p1d=pointer to vehicle
 +
|np=2
 +
|p2t=integer
 +
|p2d=taxi light state
 +
}}
  
VEHICLE - represents vehicle handle
 
  
VALUE - Probably boolean, 0 - of, 1 - on.
+
'''Explanation:'''
  
 +
- Set on car TaxiLight On/Off, on selected taxi vehicle.
  
Explanation:
+
- '''SET_TAXI_LIGHTS''' (MyVehicle, 1)
 
 
- Set TaxiLight of selected taxi vehicle.
 
  
  
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS

Revision as of 15:54, 20 January 2009

SET_TAXI_LIGHTS
Number of parameters: 2
Parameter #TypeDescription
1.pointerpointer to vehicle
2.integertaxi light state
Return value:
TypeDescription
None


Explanation:

- Set on car TaxiLight On/Off, on selected taxi vehicle.

- SET_TAXI_LIGHTS (MyVehicle, 1)


' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING ' INFORMATION IS EXTRACTED FROM GAME SCRIPTS