17.05.2015, 16:27
Hi, i did this:
But if are 2 players connected, its show "<admin>" just for one ..
So, my code works just for 1 player. What is wrong?
Код:
if(PlayerInfo[playerid][pAdmin] > 1) { TitleLabel[playerid] = Create3DTextLabel("< Admin >", COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(TitleLabel[playerid], playerid, 0.0, 0.0, 0.5); }
So, my code works just for 1 player. What is wrong?