That could cause race conditions if amx_test is used by someone else (or the same person; different problem) before it has finished printing.
I believe you can send string through a set_task like:
Code:
set_task(time, "function", id+offset, string, sizeof(string), "a", 3)
public function(yourstring[])
{
// . . .
}
__________________