GlobalVariableSet allwas 0
Try this:
int start() { int test; for(int i=0;i<10;i++) { test=GlobalVariableSet("xxx",i); Print("xxx - ",GlobalVariableGet("xxx")); } }
Try this:
int start() { int test; for(int i=0;i<10;i++) { test=GlobalVariableSet("xxx",i); Print("xxx - ",GlobalVariableGet("xxx")); } }
You agree to website policy and terms of use
Hey everybody,
i have a problem, that my datetime test = globalvariableSet("xxx", 2)
test is allways 0, which means my globalvariable was not set.
can you tell me how and why?
thanks