Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0A96

Opcode Database

0A96

Description0A96 stores the pointer to the actor's structure in the game memory. The structure is a set of different values such as health, model, etc. Knowing the struct address it's possible to read/rewrite these values using 0A8D/0A8C.

Parameters:
1 = variable to store the struct address
2 = actor handle obtained by the constructor opcode (009A and similar)
Parameters (v2)1) Actor handle (Integer) (INT)
2) (Returned) Memory address (Integer) (INT)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0A96=2,get_char_pointer %1d% store_to %2d%
Example0A96: get_char_pointer $PLAYER_ACTOR store_to 0@
Command NameGET_CHAR_POINTER

<< 0A95

0A97 >>