09.09.2013, 11:07
I bet you know what does for().
Playerid, as wiki sais, is the player who gets the attached label.
For loops through all player IDs, but now it is not anymore playerid, but i.
So "i" replaces playerid for all players.
Edit: As far as I know, player3dtextlabels should calculate the position by themselves, so you shouldn't get the player's position and assign it to the coordinates. Just set x to 0.0, y to 0.0 and z to 1.0.
Playerid, as wiki sais, is the player who gets the attached label.
For loops through all player IDs, but now it is not anymore playerid, but i.
So "i" replaces playerid for all players.
Edit: As far as I know, player3dtextlabels should calculate the position by themselves, so you shouldn't get the player's position and assign it to the coordinates. Just set x to 0.0, y to 0.0 and z to 1.0.