GlobalVariableSet allwas 0

 

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

 

Try this:

int start()
{
int test;
       for(int i=0;i<10;i++)
       {
       test=GlobalVariableSet("xxx",i);
       Print("xxx - ",GlobalVariableGet("xxx"));
       }  
}
Reason: