Difference between revisions of "0295"

From GTAMods Wiki
Jump to navigation Jump to search
(added lcs)
 
Line 8: Line 8:
 
}}
 
}}
  
This conditional opcode returns true if the vehicle is a taxi. It is equivalent to using opcode [[0137]] and checking if the model of the vehicle is 110 (Taxi), 128 (Cabbie), or 148 (Borgnine).
+
This conditional opcode returns true if the vehicle is a taxi. It is equivalent to using opcode [[0137]] and checking if the model of the vehicle is one of the following:
 +
{|class="wikitable sortable"
 +
!colspan="2" |{{Icon|3}} ||colspan="2" |{{Icon|LCS}}
 +
|-
 +
!Id ||Name ||Id ||Name
 +
|-
 +
|110 ||Taxi ||151 ||Taxi
 +
|-
 +
|128 ||Cabbie ||166 ||Cabbie
 +
|-
 +
|148 ||Borgnine ||181 ||Bickle'76
 +
|}
  
 
== Keywords ==
 
== Keywords ==

Latest revision as of 09:10, 1 June 2017

GTA III IS_TAXI


Description
Checks if the vehicle is a taxi
Syntax
0295:   is [car handle] taxi
Parameter
[car handle]
The handle of the vehicle

This conditional opcode returns true if the vehicle is a taxi. It is equivalent to using opcode 0137 and checking if the model of the vehicle is one of the following:

GTA III Liberty City Stories
Id Name Id Name
110 Taxi 151 Taxi
128 Cabbie 166 Cabbie
148 Borgnine 181 Bickle'76

Keywords

check, car, vehicle, taxi

See also

  • GTA III Vice City 02DE, checks if the player is in a taxi
  • San Andreas 0602, checks if a character is in a taxi