18.05.2011, 19:39
I've been having the same problem for days now, it refuses to work.
OnPlayerSpawn:
Why does this not work properly? It's beginning to piss me off.
OnPlayerSpawn:
pawn Код:
new
Float:MyPos[4],
string[128];
GetPlayerPos(playerid, MyPos[0], MyPos[1], MyPos[2]);
format(string, sizeof(string), "%s (ID: %d)", GetTheirName(playerid), playerid);
NameTag[playerid] = CreateDynamic3DTextLabel(string, 0xFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(NameTag[playerid], playerid, MyPos[0], MyPos[1], MyPos[2]+0.2);