Label Help.
#1

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;
}
Reply
#2

Код:
CMD:admintag(playerid,params[])
{
		if (PlayerInfo[playerid][pAdmin] == 99999)
		{
			new string[128];

			if(IsPlayerConnected(playerid))
			{

				
				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);
                                       GetPlayerVirtualWorld(playerid), 0);

			}
                }
		return 1;
}
try
Reply
#3

No didnt work
Reply
#4

Do what it says here. Note how the text label is created(new Text3D:blah)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)