Difference between revisions of "0295"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''IS_TAXI''' <hr /> '''Description''' : Checks if the vehicle is a taxi '''Syntax''' : 0295:   is [''car handle''] taxi '''Parameter''' : [''car handle''] ::...")
 
(added lcs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Icon|3}} '''IS_TAXI'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = IS_TAXI
: Checks if the vehicle is a taxi
+
| description = Checks if the vehicle is a taxi
'''Syntax'''
+
| syntax1    = 0295: &nbsp; is [''car handle''] taxi
: 0295: &nbsp; is [''car handle''] taxi
+
| p1t        = [''car handle'']
'''Parameter'''
+
| p1d        = The handle of the vehicle
: [''car handle'']
+
}}
:: The handle of the vehicle
 
  
This 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 ==
Line 15: Line 25:
  
 
== See also ==
 
== See also ==
* [[02DE]], checks if the player is in a taxi
+
* {{Icon|3}} {{Icon|VC}} [[02DE]], checks if the player is in a taxi
* [[0602]], checks if a character is in a taxi
+
* {{Icon|SA}} [[0602]], checks if a character is in a taxi
 
 
[[Category:OpCodes]]
 

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