0A8C

From GTAMods Wiki
Revision as of 16:49, 9 October 2010 by Bnb (talk | contribs)
Jump to navigation Jump to search

0A8C=4, %1d% %2d% %3d% %4d%
Description: writes a value to the game memory.
Parameter 1: memory address(hexadecimal value)
Parameter 2: number of bytes to write: 1, 2 or 4 bytes
Parameter 3: value to write (any number)
Parameter 4: Virtual Protect(0/1)
Supports: San Andreas (with CLEO)

This opcode writes a value to the game memory.

Virtual Protect: use 1 to write to the read-

Sanny Builder Example

0A8C: write_memory 0xC0BC15 size 1 value 1 virtual_protect 0

Keywords

CLEO, write memory, memory address