Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AC8

Opcode Database

0AC8

DescriptionAllocates 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)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AC8=2,allocate_memory %1d% store_to %2d%
Example0AC8: allocate_memory 260 store_to 0@
Command NameALLOCATE_MEMORY

<< 0AC7

0AC9 >>