21.10.2012, 15:31
I tried to make 3d Text Label command that works for admins but the label is not 3dTextLabel its normal.Heres the code.Would be thankful if anyone can help.
Код:
CMD:admintag(playerid,params[])
{
if (PlayerInfo[playerid][pAdmin] == 99999)
{
new string[128];
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] == 99999)
format(string, sizeof(string), "{FF6347}XG-RP Administrtor\n{FFFFF}%s\n{0000BB}Server Owner", GetPlayerNameEx(playerid));
label[playerid] = Create3DTextLabel(string, COLOR_WHITE, 30.0, 40.0, 50.0, 40.0, 0, 0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
}
}
return 1;
}

