Difference between revisions of "0A8C"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<code>0A8C=4, %1d% %2d% %3d% %4d%</code><br> | <code>0A8C=4, %1d% %2d% %3d% %4d%</code><br> | ||
'''Description''': writes a value to the game memory.<br> | '''Description''': writes a value to the game memory.<br> | ||
− | '''Parameter 1''': [[ | + | '''Parameter 1''': [[Memory Addresses_(SA)|memory address]](hexadecimal value) <br> |
'''Parameter 2''': number of bytes to write: 1, 2 or 4 bytes <br> | '''Parameter 2''': number of bytes to write: 1, 2 or 4 bytes <br> | ||
'''Parameter 3''': value to write (any number)<br> | '''Parameter 3''': value to write (any number)<br> |
Revision as of 16:49, 9 October 2010
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