Hello. I am trying to create a dynamic array.
PHP Code:
if(g_aCheckPoints == INVALID_HANDLE)
g_aCheckPoints = CreateArray(ARRAY_LEN);
But it seems to return 0, I tried then checking if the array is an invalid handle, print a message to console and it prints it. Btw, the array is created on the OnMapStart() forward.
Any ideas why it returns 0? Also tried to print the value of g_aCheckPoints and it was indeed 0 after creation. Thanks !