11.05.2018, 20:23
Note. I'm using y_hooks.
Let's assume there is a FileA.pwn. And there is an inc folder which has core.inc and AdminCMDs.inc.
Now core.inc has a global variable named 'g_whatever'.
I want to know whether or not I can access 'g_whatever' which resides in core.inc from AdminCMDs.inc.
Because so far. I've tried accessing a global variable from another file and it does not even recognize in the other file from where I'm trying to access it.
Any help would be appreciated.
Let's assume there is a FileA.pwn. And there is an inc folder which has core.inc and AdminCMDs.inc.
Now core.inc has a global variable named 'g_whatever'.
I want to know whether or not I can access 'g_whatever' which resides in core.inc from AdminCMDs.inc.
Because so far. I've tried accessing a global variable from another file and it does not even recognize in the other file from where I'm trying to access it.
Any help would be appreciated.