Difference between revisions of "0295"
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}} | + | {{OpCode |
− | + | | games = {{Icon|3}} | |
− | + | | command = IS_TAXI | |
− | + | | description = Checks if the vehicle is a taxi | |
− | + | | syntax1 = 0295: is [''car handle''] taxi | |
− | + | | p1t = [''car handle''] | |
− | + | | p1d = 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 |
− | |||
− |
Revision as of 16:25, 4 June 2016
- 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