Difference between revisions of "0572"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = SET_ALL_TAXIS_HAVE_NITRO | |
− | + | | 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 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 | + | 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" | + | {|class="wikitable sortable" |
− | ! colspan="2"| | + | !colspan="2" |{{Icon|VC}} ||colspan="2" |{{Icon|SA}} |
− | |||
|- | |- | ||
− | ! | + | !Id ||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}} | ||
− | |||
− |
Latest revision as of 08:17, 2 December 2016
- 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:
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
- GTAForums: SA Memory handling, asm injection through the use of this opcode by Seemann