Hey is there a maximum of global strings?
when I store a global variable, it's empty when I use the variable in another function.
Basicly I only have to pass a string on to another function using set_task, but the params argument also fails.
example:
Code:
new string[33]
function1(id){
new params[2]
copy(string[id],29,"DEBUG")
console_print(id,"'%s'",string[id]) //prints 'DEBUG'
params[0] = id
set_task(3.0,"function2",1111+id,params)
}
function2(params[]){
new id = params[0]
console_print(id,"'%s'",string[id])
//prints ''
}
__________________