[AJUDA]TextDraw!
#1

Gente fiz um text draw so que aparece pra o seu pra otra pessoa

EX:

Code:
	if (strcmp(cmd, "/nome", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (gPlayerLogged[playerid] != 0)
			{
				ShowNome(playerid,playerid);
                TextDrawShowForPlayer(playerid, Nome);
                TextDrawShowForPlayer(playerid, Nomebox);
a public

Code:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
	{
		new name[MAX_PLAYER_NAME];
		GetPlayerName(targetid, name, sizeof(name));
		new coordsstring[256];
		format(coordsstring, sizeof(coordsstring), "~h~~r~%s",name);
		TextDrawSetString(TextdrawNome,coordsstring);
                TextDrawShowForPlayer(playerid, TextdrawNome);
By Vai_Besta
OBS:to nessa conta pq perdi a senha da minha :S
Reply


Messages In This Thread
[AJUDA]TextDraw! - by Mateus_Henrique - 09.08.2010, 00:08
Re: [AJUDA]TextDraw! - by Mateus_Henrique - 09.08.2010, 20:32
Re: [AJUDA]TextDraw! - by Canabis - 09.08.2010, 20:42
Re: [AJUDA]TextDraw! - by Mateus_Henrique - 09.08.2010, 20:47

Forum Jump:


Users browsing this thread: 1 Guest(s)