setGlobal()

From Hack Wars Wiki

Jump to: navigation, search


Information for free function setGlobal()
Function setGlobal(int key,(int,string,float,boolean))
API Attacking, Banking, FTP, Watch, HTTP, ?Challenges?, Hacktendo
Description Sets a global variable that can be accessed from any script via the key. key can be any value from 0 to 19.


Example

As string

setGlobal(1,"Hello, World");

As int

setGlobal(2,298);

As float

setGlobal(3,748.518);

As boolean

setGlobal(4,true);
Personal tools