GTAG - Modding - Opcode Database - 0A96
Opcode Database
0A96
Description | 0A96 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) |
Games | |
Category | CLEO 3 |
San Andreas | |
sascm.ini | 0A96=2,get_char_pointer %1d% store_to %2d% |
Example | 0A96: get_char_pointer $PLAYER_ACTOR store_to 0@ |
Command Name | GET_CHAR_POINTER |