24.01.2011, 16:31
ok i tryed to create, but the 3dtext dont showing and i get warning: tag misint match...
pawn Код:
new PlayerText3D:playertextid[MAX_PLAYERS];
Onplayerspawn:
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid[playerid] = CreatePlayer3DTextLabel(playerid,"Level:",0x008080FF,X,Y,Z,40.0);
format(string, sizeof(string), "Lygis: %d", pInfo[playerid][Lygis]);
Attach3DTextLabelToPlayer(playertextid[playerid],playerid,X,Y,Z); // tag mismatch
Playerdisconnect
Delete3DTextLabel(playertextid[playerid]); // tag mismatch
Playerupdate:
UpdatePlayer3DTextLabelText(playerid, playertextid[playerid], 0x008080FF, "Level: %d");

