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''] ::...")
 
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 110 (Taxi), 128 (Cabbie), or 148 (Borgnine).
  
 
== Keywords ==
 
== Keywords ==
Line 15: Line 14:
  
 
== 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]]
 

Revision as of 16:25, 4 June 2016

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 110 (Taxi), 128 (Cabbie), or 148 (Borgnine).

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