Skip to main content

heapspace

warning

This function starts with a lowercase letter.

Description

Returns the amount of memory available for the heap/stack in bytes.

Examples

public OnGameModeInit()
{
printf("Heapspace: %i kilobytes", heapspace() / 1024);
return 1;
}