Thread: [Solved] [ H3LP ] CreateArray
View Single Post
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 02-11-2019 , 03:24   [ H3LP ] CreateArray
Reply With Quote #1

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 !

Last edited by DarthMan; 02-11-2019 at 13:33. Reason: Solved
DarthMan is offline