10.05.2011, 14:25
OnPlayerConnect:
OnPlayerSpawn:
Result:
What's wrong with it? :\
pawn Код:
format(string, sizeof(string), "%s (ID: %d)", GetTheirName(playerid), playerid);
NameTag[playerid] = Create3DTextLabel(string, WHITE, 0, 0, 0, 15, 0, 0);
pawn Код:
GetPlayerPos(playerid, MyPos[0], MyPos[1], MyPos[2]);
Attach3DTextLabelToPlayer(NameTag[playerid], playerid, MyPos[0], MyPos[1], MyPos[2]+1);
What's wrong with it? :\