Difference between revisions of "0572"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>0572=1,%1h%</code><br>
+
{{OpCode
'''Description''': Sets the taxi's boost jump and nitros<br>
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Parameter 1''': Flag<br>
+
| command    = SET_ALL_TAXIS_HAVE_NITRO
'''Supports''': Vice City, San Andreas<br>
+
| description = Activates the taxi's boost jump and nitrous
 +
| syntax1    = 0572: set_taxi_boost_jump [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = 0 = deactivate, {{hint|1|or any value other than 0}} = activate
 +
}}
  
In Vice City, this opcode sets the taxi's boost jump. In San Andreas, the taxi will have both boost jump and nitros. This only works on the player's taxi.
+
In Vice City, this opcode activates the taxi's boost jump. In San Andreas, this opcode activates both the boost jump and nitrous. Boost jump replaces the horn, which can be activated by pressing [[00E1|button 18]] (HORN key). The value set with this opcode is saved in [[Saves (GTA VC)#Block 0: Simple Vars|block 0 of the save file]] in Vice City and [[Saves (GTA SA)#Block 0: Simple Vars|block 0]] in San Andreas. This only works on the player's taxi. It recognizes the following as taxis:
 +
{|class="wikitable sortable"
 +
!colspan="2" |{{Icon|VC}} ||colspan="2" |{{Icon|SA}}
 +
|-
 +
!Id ||Name ||Id ||Name
 +
|-
 +
|150 ||Taxi ||420 ||Taxi
 +
|-
 +
|168 ||Cabbie ||438 ||Cabbie
 +
|-
 +
|188 ||Zebra Cab ||||
 +
|-
 +
|216 ||Kaufman Cab ||||
 +
|}
  
==Keywords==
+
== Keywords ==
 
set, taxi, boost, jump, nitro
 
set, taxi, boost, jump, nitro
  
[[Category:OpCodes]]
+
== External link ==
 +
* {{GTAF|262280|SA Memory handling}}, asm injection through the use of this opcode by {{U|Seemann}}

Latest revision as of 08:17, 2 December 2016

Vice City San Andreas SET_ALL_TAXIS_HAVE_NITRO


Description
Activates the taxi's boost jump and nitrous
Syntax
0572: set_taxi_boost_jump [int]
Parameter
[int]
0 = deactivate, 1 = activate

In Vice City, this opcode activates the taxi's boost jump. In San Andreas, this opcode activates both the boost jump and nitrous. Boost jump replaces the horn, which can be activated by pressing button 18 (HORN key). The value set with this opcode is saved in block 0 of the save file in Vice City and block 0 in San Andreas. This only works on the player's taxi. It recognizes the following as taxis:

Vice City San Andreas
Id Name Id Name
150 Taxi 420 Taxi
168 Cabbie 438 Cabbie
188 Zebra Cab
216 Kaufman Cab

Keywords

set, taxi, boost, jump, nitro

External link