isGlobalSet()
From Hack Wars Wiki
| Information for free function isGlobalSet() | |
| Function | isGlobalSet(int key) |
| API | Attacking, Banking, FTP, Watch, HTTP, Hacktendo |
| Description | Returns a boolean whether the global variable represented by key has been set or not. |
To use getGlobal() to get a value from a global, you need to make sure the global is set.
Example
if(isGlobalSet(1)) { string foo = getGlobal(1) + ""; } |
