How can I make a function set an argument passed to it to string?
Code:
function ReturnString(arg_1, &arg_2)
{
arg_2 = "some string"
}
I'm calling function from other plugin using callfunc_* and after I've read over 20 topics it seems thats the only way to return a string.
Unfortunately that implementation gives me an error "Error: Must be assigned to an array on line 218" So I think the main question is... how to force type to String / Array on argument passed to function.