10.05.2014, 17:55
I create a 3D text label to player, but the label show to all players on server, either admin or not ! Why?
I put this script at:
pawn Код:
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new staff:label = Create3DTextLabel("ADMIN BL", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(staff, playerid, 0.0, 0.0, 0.7);
}
pawn Код:
public OnPlayerConnect(playerid)