Difference between revisions of "0572"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{Icon|VC}} {{Icon|SA}} '''SET_ALL_TAXIS_HAVE_NITRO''' |
<hr /> | <hr /> | ||
'''Description''' | '''Description''' | ||
Line 7: | Line 7: | ||
'''Parameter''' | '''Parameter''' | ||
: [''int''] | : [''int''] | ||
− | :: | + | :: 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 the horn key. The value set with this opcode is saved in [[Saves (GTA VC)#Block 0: Miscellaneous and Script|block 0 of the save file]] in Vice City, and in [[Saves (GTA SA)#Block 0: Miscellaneous|block 0 of the save file]] in San Andreas. 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 the horn key. The value set with this opcode is saved in [[Saves (GTA VC)#Block 0: Miscellaneous and Script|block 0 of the save file]] in Vice City, and in [[Saves (GTA SA)#Block 0: Miscellaneous|block 0 of the save file]] in San Andreas. This only works on the player's taxi. The opcode recognizes the following vehicles: | ||
− | {| | + | {| class="wikitable" |
! colspan="2"| Vice City | ! colspan="2"| Vice City | ||
! colspan="2"| San Andreas | ! colspan="2"| San Andreas |
Revision as of 04:25, 31 December 2014
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 the horn key. The value set with this opcode is saved in block 0 of the save file in Vice City, and in block 0 of the save file in San Andreas. This only works on the player's taxi. The opcode recognizes the following vehicles:
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
- GTAForums: SA Memory handling, asm injection through the use of this opcode by Seemann