Difference between revisions of "018F"

From GTAMods Wiki
Jump to navigation Jump to search
 
(page updates)
Line 1: Line 1:
<code>018F=1,  %1d%</code><br>
+
{{OpCode
'''Description''': Checks if a car was flipped<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': A car handle<br>
+
| command    = IS_CAR_STUCK_ON_ROOF
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| description = Checks if the vehicle is "stuck on its roof"
 +
| syntax1    = 018F: &nbsp; vehicle [''car handle''] flipped
 +
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
}}
  
This opcode returns true if the car added to the flip check by [[0190]] is flipped. The time passed from the flipping should be more than 2 seconds. In other cases this opcode returns false. This opcode works even the car was destroyed.
+
This conditional opcode returns true if the vehicle is "stuck on its roof," i.e. the vehicle has been [[0190|added to the upside down car check]] and its translational and rotational movements are minimal while upside down for more than a second. This opcode remains in effect if the vehicle is exploded.
  
==Keywords==
+
== Keywords ==
car, flip, check
+
check, car, vehicle, stuck, roof, flip, flipped, upside, down
  
[[Category:OpCodes]]
+
== See also ==
 +
* {{Icon|t}} [[0190]], adds the vehicle to the upside down car check
 +
* {{Icon|t}} [[0191]], removes the vehicle from the upside down car check

Revision as of 14:41, 4 June 2016

GTA III Vice City San Andreas IS_CAR_STUCK_ON_ROOF


Description
Checks if the vehicle is "stuck on its roof"
Syntax
018F:   vehicle [car handle] flipped
Parameter
[car handle]
The handle of the vehicle

This conditional opcode returns true if the vehicle is "stuck on its roof," i.e. the vehicle has been added to the upside down car check and its translational and rotational movements are minimal while upside down for more than a second. This opcode remains in effect if the vehicle is exploded.

Keywords

check, car, vehicle, stuck, roof, flip, flipped, upside, down

See also

  • GTA III Vice City San Andreas 0190, adds the vehicle to the upside down car check
  • GTA III Vice City San Andreas 0191, removes the vehicle from the upside down car check