02.03.2015, 02:44
It only disables the name tags for the player, so I guess it should only show the 3d text for the player
Also I think it would be better if you attach these labels instead of placing them at a fixed position
The variable Label isn't indexed with a playerid parameter, if two people use that at the same time it gets buggy
Also I think it would be better if you attach these labels instead of placing them at a fixed position
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
GetPlayerName(i, pName,sizeof pName);
format(string,sizeof(string),"%s(%i)",pName, i);
Label[i] = CreatePlayer3DTextLabel(playerid, string, COLOR_INDIANRED, 0.0, 0.0, 0.0, 200.0, i, 1);
}