GTAG - Modding - Opcode Database - 0AC8
Opcode Database
0AC8
| Description | Allocates a block of memoy of the specified size. The resulting buffer can be used as desired, for example, to store strings. Pointer to a string can be passed opcodes corresponding to string convention. Params: 1. Variable which the pointer to the allocated memory will be stored to. 2. The size of allocated memory in bytes. |
|---|---|
| Parameters (v2) | 1) Integer (INT) 2) (Returned) Memory address (Integer) (INT) |
| Games | |
| Category | CLEO 4 |
| San Andreas | |
| sascm.ini | 0AC8=2,allocate_memory %1d% store_to %2d% |
| Example | 0AC8: allocate_memory 260 store_to 0@ |
| Command Name | ALLOCATE_MEMORY |

