09BA
Jump to navigation
Jump to search
- Description
- Displays zone names
- Syntax
- 09BA: show_entered_zone_name [int]
- Parameter
- [int]
- 0 = not display, 1 = display (default)
This opcode sets the display of zone names when entering any zone.
For GTA III and Vice City
This opcode does not exist in GTA III and Vice City but it is possible to turn off zone names. The following example, using Sanny Builder with CLEO for GTA III and Vice City in an external script (not the main one) and tested on US v1.0, should work similarly to this opcode. Place this at the end of the file for Vice City:
:opcode_09BA
// 0@ - input param (set)
if
0@ == 0
then
05DF: write_memory 0x5594E8 size 4 value 0x0004F5E9 virtual_protect 1
05DF: write_memory 0x5594EC size 2 value 0x9000 virtual_protect 1
else
05DF: write_memory 0x5594E8 size 4 value 0x04F4840F virtual_protect 1
05DF: write_memory 0x5594EC size 2 value 0x0000 virtual_protect 1
end
05F6: ret 0
or for GTA III:
:opcode_09BA
// 0@ - input param (set)
if
0@ == 0
then
05DF: write_memory 0x5594E8 size 4 value 0x0004F5E9 virtual_protect 1
05DF: write_memory 0x5594EC size 2 value 0x9000 virtual_protect 1
else
05DF: write_memory 0x5594E8 size 4 value 0x04F4840F virtual_protect 1
05DF: write_memory 0x5594EC size 2 value 0x0000 virtual_protect 1
end
05F6: ret 0
Use this line as a substitute for opcode 09BA. This can be placed anywhere within the external script:
05F5: call_scm_func @opcode_09BA inputs 1 set 0
Keywords
display, zone, name