Difference between revisions of "0572"

From GTAMods Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}}
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = SET_ALL_TAXIS_HAVE_NITRO
: Activates the taxi's boost jump and nitrous
+
| description = Activates the taxi's boost jump and nitrous
'''Syntax'''
+
| syntax1    = 0572: set_taxi_boost_jump [''int'']
: 0572: set_taxi_boost_jump [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = 0 = deactivate, {{hint|1|or any value other than 0}} = activate
: [''int'']
+
}}
:: Boolean (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 the horn key. This only works on the player's taxi. The opcode recognizes the following vehicles:
+
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:
{| {{prettytable}}
+
{|class="wikitable sortable"
! colspan="2"| Vice City
+
!colspan="2" |{{Icon|VC}} ||colspan="2" |{{Icon|SA}}
! colspan="2"| San Andreas
 
 
|-
 
|-
! ID
+
!Id ||Name ||Id ||Name
! Name
 
! ID
 
! Name
 
 
|-
 
|-
| 150 || Taxi
+
|150 ||Taxi ||420 ||Taxi
| 420 || Taxi
 
 
|-
 
|-
| 168 || Cabbie
+
|168 ||Cabbie ||438 ||Cabbie
| 438 || Cabbie
 
 
|-
 
|-
| 188 || Zebra Cab
+
|188 ||Zebra Cab ||||
| ||
 
 
|-
 
|-
| 216 || Kaufman Cab
+
|216 ||Kaufman Cab ||||
| ||
 
 
|}
 
|}
  
Line 37: Line 28:
 
== External link ==
 
== External link ==
 
* {{GTAF|262280|SA Memory handling}}, asm injection through the use of this opcode by {{U|Seemann}}
 
* {{GTAF|262280|SA Memory handling}}, asm injection through the use of this opcode by {{U|Seemann}}
 
[[Category:OpCodes]]
 

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