31.03.2011, 07:21
Hello,
when I try to do some functions like strins or text[k] = text[k - 6] with the string "text" from the callback,
Everything will crash and the whole OnPlayerText callback will terminate and do things like returning 1 in the callback.
I am doing that strins/array assigns in another function.
However, when I try to copy the "text" string to another string variable declared inside the callback,
everything works perfectly.
So what's the problem?
when I try to do some functions like strins or text[k] = text[k - 6] with the string "text" from the callback,
Everything will crash and the whole OnPlayerText callback will terminate and do things like returning 1 in the callback.
I am doing that strins/array assigns in another function.
However, when I try to copy the "text" string to another string variable declared inside the callback,
everything works perfectly.
So what's the problem?