0A8C

From GTAMods Wiki
Revision as of 02:24, 21 August 2015 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search
Use 05DF for legacy versions of CLEO for GTA III and Vice City.

GTA III Vice City San Andreas (with CLEO)


Description

Writes a value to the game memory

Syntax

0A8C: write_memory [int1] size [int2] value [any] virtual_protect [int3]

Parameter

[int1]
Memory address (generally a hexadecimal value, which is indicated by the leading characters 0x)
[int2]
Number of bytes to write: 1, 2 or 4 bytes
[any]
Value to write (any datatype)
[int3]
0 = if the address is rewritable, 1 = if the address is read-only

This opcode writes a value to the game memory. Note that this opcode does not exist in the game. It is a feature of CLEO and you must install it in order to utilize this opcode.

Keywords

CLEO, write, memory, address