Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0A8C

Opcode Database

0A8C

DescriptionWrites a value to the game memory.

Parameters:
1 = memory address (any integer value)
2 = number of bytes to write: 1, 2 or 4 bytes
3 = value to write (any number)
4 = Virtual Protect: use 1 to write to the read-only address, 0 - if the address is rewritable.
Parameters (v2)1) Memory address (Integer) (INT)
2) Integer (INT)
3) Integer or Float (ANY)
4) Boolean (1 or 0) (INT)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0A8C=4,write_memory %1d% size %2d% val %3d% vp %4d%
Example0A8C: write_memory 0xC0BC15 size 1 val 1 vp 0
Command NameWRITE_MEMORY

<< 0A4E

0A8D >>