When i client joins the game a timer should started for the specific player and run the function CreateStatus(id) every ½ second to make sure their xp info is 'up-2-date'.
How do i fix this?
Code:
public client_connect(id) {
set_task(0.5,CreateStatusText,id,_,_,"b")
}
Edit:
I've also tried this code:
Code:
public client_connect(id) {
new sid[22]
num_to_str(id,sid,21)
set_task(0.5,"CreateStatusText",id,sid,21,"b")
}