How to make 3D the text afk?
#2

Код:
new Text3D:afk[MAX_PLAYERS];
Код:
if (strcmp("/afk", cmdtext, true, 10) == 0)
	{
	  GetPlayerName(playerid,playername,sizeof(playername));
		format(string,sizeof(string),".:: %s (ID: %d) ушел в AFK! ::.",playername,playerid);
		SendClientMessageToAll(COLOR_ERROR, string);
		afk[playerid] = Create3DTextLabel("afk",0xff0000FF,0.0,0.0,0.0,40.0,0);
		Attach3DTextLabelToPlayer(afk[playerid], playerid, 0.0, 0.0, 0.0)
		return 1;
	}
Код:
if (strcmp("/comeback", cmdtext, true, 10) == 0)
	{
	  GetPlayerName(playerid,playername,sizeof(playername));
		format(string,sizeof(string),".:: %s (ID: %d) вернулся из AFK! ::.",playername,playerid);
		SendClientMessageToAll(COLOR_YELLOW2, string);
		DeletePlayer3DTextLabel(playerid,PlayerText3D:afk[playerid]);
		return 1;
	}
Reply


Messages In This Thread
How to make 3D the text afk? - by Aram555 - 18.12.2009, 01:22
Re: How to make 3D the text afk? - by GTAguillaume - 18.12.2009, 01:36
Re: How to make 3D the text afk? - by Aram555 - 18.12.2009, 01:48
Re: How to make 3D the text afk? - by niCe - 18.12.2009, 02:54
Re: How to make 3D the text afk? - by Aram555 - 18.12.2009, 03:04
Re: How to make 3D the text afk? - by yom - 18.12.2009, 03:12
Re: How to make 3D the text afk? - by Aram555 - 18.12.2009, 05:04
Re: How to make 3D the text afk? - by yom - 18.12.2009, 05:09
Re: How to make 3D the text afk? - by Aram555 - 18.12.2009, 05:20
Re: How to make 3D the text afk? - by Aram555 - 18.12.2009, 11:18

Forum Jump:


Users browsing this thread: 1 Guest(s)