PHP Code:
set_task(1.0, "TaskLoopNameChoosing", szName);
szName?
You are trying to pass an string value to the task, you can't do this... you have to pass in integer (id of the player for example)... so you should change this:
PHP Code:
TaskLoopNameChoosing(szName[id])
To this:
PHP Code:
set_task(1.0, "TaskLoopNameChoosing", id);
And get the name inside of the task... or maybe using the other parameters in the set_task( ) but i don't know about this, i never used that.
__________________