Difference between revisions of "096F"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<code>096F=1,  %1d%</code><br>
+
{{OpCode
'''Description''': Checks if the vehicle is a street racer<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Vehicle handle<br>
+
| command    = IS_CAR_STREET_RACER
'''Supports''': San Andreas<br>
+
| description = Checks if the vehicle is a street racer
 +
| syntax1    = 096F: &nbsp; car [''car handle''] street_racing_car
 +
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
}}
  
==List of Street Racers==
+
This conditional opcode returns true if the vehicle is a street racer, i.e. the STREET_RACER flag is set for this vehicle in the [[Handling.cfg#Handling_Flag_Data|handling.cfg]] file. By default the game will recognize the following list of vehicles as street racers:
The game will recognize the following list of vehicles as street racers.
+
* Elegy
Elegy
+
* Jester
Jester
+
* Stratum
Stratum
+
* Sultan
Sultan
+
* Uranus
Uranus
 
  
==Keywords==
+
== Keywords ==
vehicle, street, racer, racing
+
car, vehicle, street, racer, racing
 
 
[[Category:OpCodes]]
 

Latest revision as of 15:58, 4 June 2016

San Andreas IS_CAR_STREET_RACER


Description
Checks if the vehicle is a street racer
Syntax
096F:   car [car handle] street_racing_car
Parameter
[car handle]
The handle of the vehicle

This conditional opcode returns true if the vehicle is a street racer, i.e. the STREET_RACER flag is set for this vehicle in the handling.cfg file. By default the game will recognize the following list of vehicles as street racers:

  • Elegy
  • Jester
  • Stratum
  • Sultan
  • Uranus

Keywords

car, vehicle, street, racer, racing