Difference between revisions of "0572"

From GTAMods Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0572=1,{{Hint|%1h%|parameter 1: integer}}
+
| games      = {{Icon|VC}} {{Icon|SA}}
| description = Sets the taxi's boost jump and nitros
+
| command    = SET_ALL_TAXIS_HAVE_NITRO
| p1          = Flag
+
| description = Activates the taxi's boost jump and nitrous
| game        = [[Vice City]], [[San Andreas]]
+
| 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. Boost jump replaces the horn, which can be activated by pressing the horn key. This only works on the player's taxi. Vehicles that are considered taxis include:
+
 
{| {{prettytable}}
+
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:
! colspan="2"| Vice City
+
{|class="wikitable sortable"
! colspan="2"| San Andreas
+
!colspan="2" |{{Icon|VC}} ||colspan="2" |{{Icon|SA}}
 
|-
 
|-
! 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 ||||
| ||
 
 
|}
 
|}
  
==Keywords==
+
== Keywords ==
 
set, taxi, boost, jump, nitro
 
set, taxi, boost, jump, nitro
  
==External link==
+
== External link ==
* {{GTAF|262280|SA Memory handling}} - 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}}

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