Help 3Dtextlabel
#1

I am wanting to create a kind of chat in 3Dtextlabel, that when a player talk, the message Excritos in 3D on your head, after some time disappear, I'm just getting the text to stay in your head when the player go

currently reads:

Code:
format(string, sizeof(string), "%s diz: %s", GetPlayerNameEx(playerid), text);
			ProxDetector(20.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
new text_info[256];
			Delete3DTextLabel(chatTextInfo[playerid]);
			new Float:x,Float:y,Float:z;
  		  GetPlayerPos(playerid,x,y,z);
			format(text_info,256,"[%s diz: %s]",GetPlayerNameEx(playerid),text);
		  chatTextInfo[playerid] = Create3DTextLabel(text_info,COLOR_WHITE,x,y,z+1.50,20.0,0,1);
		  SetTimerEx("Delete3DTextLabel", 3500, false, "i", playerid);
but obviously, the text is not in your head when you walk

Help
Reply


Messages In This Thread
Help 3Dtextlabel - by KingstoN* - 20.11.2009, 10:41
Re: Help 3Dtextlabel - by ExoSanty - 20.11.2009, 13:50
Re: Help 3Dtextlabel - by miokie - 20.11.2009, 14:10
Re: Help 3Dtextlabel - by KingstoN* - 20.11.2009, 15:12

Forum Jump:


Users browsing this thread: 4 Guest(s)