SA-MP Forums Archive
[Ajuda] Como Coloca TAG na Frente do Nick. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Como Coloca TAG na Frente do Nick. (/showthread.php?tid=616741)



Como Coloca TAG na Frente do Nick. - SmokiieGamer - 09.09.2016

Fala galera, estou com 1 Duvida aqui. Queria saber como que coloca a TAG de ADM Etc... na Frente do Nick Ex: Player: [TAG]

Se alguem souber pode dizer ai? ou atй mandar o link mesmo


Re: Como Coloca TAG na Frente do Nick. - F1N4L - 09.09.2016

https://sampforum.blast.hk/showthread.php?tid=553679


Re: Como Coloca TAG na Frente do Nick. - RedMF - 09.09.2016

Tenta

Код:
public OnPlayerText(playerid, text[])
{
format(string,sizeof(string), "{FF0000}[TAG] {FFFFFF}(%d): %s",playerid, text);
SendPlayerMessageToAll(playerid,string);
SetPlayerChatBubble(playerid, chat, COLOUR_BRANCO, 20.0, 10000);
return 0;
}



Re: Como Coloca TAG na Frente do Nick. - Ender_ - 09.09.2016

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
bom.. eu por exemplo uso o LimitGlobalChatRadius .. no 100.0
como EU faria para colocar a tag em meu nick..
se por SendClientMessageToAll vai repetir para todos..
entгo eu usaria IsPlayerInArea .. ou oq ?


Re: Como Coloca TAG na Frente do Nick. - F1N4L - 09.09.2016

Quote:
Originally Posted by Ender_
Посмотреть сообщение
bom.. eu por exemplo uso o LimitGlobalChatRadius .. no 100.0
como EU faria para colocar a tag em meu nick..
se por SendClientMessageToAll vai repetir para todos..
entгo eu usaria IsPlayerInArea .. ou oq ?
SendClientMessage + Loop + IsPlayerInRangeOfPoint + GetPlayerPos


Re: Como Coloca TAG na Frente do Nick. - SmokiieGamer - 09.09.2016

Quote:
Originally Posted by RedMF
Посмотреть сообщение
Tenta

Код:
public OnPlayerText(playerid, text[])
{
format(string,sizeof(string), "{FF0000}[TAG] {FFFFFF}(%d): %s",playerid, text);
SendPlayerMessageToAll(playerid,string);
SetPlayerChatBubble(playerid, chat, COLOUR_BRANCO, 20.0, 10000);
return 0;
}
Vlw, consegui


Re: Como Coloca TAG na Frente do Nick. - RedMF - 09.09.2016

Quote:
Originally Posted by SmokiieGamer
Посмотреть сообщение
Vlw, consegui
Tira o SetPlayerChatBubble(playerid, chat, COLOUR_BRANCO, 20.0, 10000);
Para ir para todos os players normalmente


Re: Como Coloca TAG na Frente do Nick. - WagnerSantosTexudo - 09.09.2016

em public OnPlayerText(playerid, text[])

Код:
	if(PlayerInfo[playerid][OrganizadorA])
	{
		format(string, sizeof(string), "[%d:{F6C700}AJUDA{FFFFFF}]:%s",playerid,text);
		SendPlayerMessageToAll(playerid,string);
		return 0;
	}
acho que й isso testa ai e me fala


Re: Como Coloca TAG na Frente do Nick. - Dishz - 09.09.2016

Sу avisando que se colocar desses modos ae, vai bugar a cor do nick.


Re: Como Coloca TAG na Frente do Nick. - SmokiieGamer - 10.09.2016

Quote:
Originally Posted by RedMF
Посмотреть сообщение
Tira o SetPlayerChatBubble(playerid, chat, COLOUR_BRANCO, 20.0, 10000);
Para ir para todos os players normalmente
Beleza