Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0A8D

Opcode Database

0A8D

DescriptionReads the game memory and stores the result to a variable.

Parameters:
1 = variable to store read result (any variable or array item)
2 = memory address to read (any integer value)
3 = number of bytes to read: 1, 2 or 4 bytes
4 = Virtual Protect: use 1 if the address is unreadable, 0 - if address is readable.
Parameters (v2)1) Memory address (Integer) (INT)
2) Integer (INT)
3) Boolean (1 or 0) (INT)
4) (Returned) Integer or Float (ANY)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0A8D=4,read_memory %1d% size %2d% vp %3d% store_to %4d%
Example0A8D: read_memory 1@ size 4 vp 0 store_to 0@
Command NameREAD_MEMORY

<< 0A8C

0A8E >>