SA-MP Forums Archive
[Ajuda] [TAG] Antes 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] [TAG] Antes do Nick (/showthread.php?tid=553679)



[TAG] Antes do Nick - [BWL]DuST - 30.12.2014

Tentei colocar Tag Antes dos Nick dos meus times, sу que ao Inves de aparecer como ( [TAG] NICK: MENSSAGEM )
Ta aparecendo ( NICK: [TAG] NICK: MENSAGEM )

ME AJUDEM POR FAVOR...

Код:
public OnPlayerText(playerid, text[])
{
new Nome[60];
new String[128];

if ( gTeam[playerid] == TERRORISTA )
    {
      GetPlayerName(playerid, Nome, sizeof (Nome));
      format(String, sizeof (String), "{04B404}[TERROR] %s: {FFFFFF}%s", Nome, text);
      SendPlayerMessageToAll(playerid, String);
    }
    
if( gTeam[playerid] == POLICIA )
{
      GetPlayerName(playerid, Nome, sizeof (Nome));
      format(String, sizeof (String), "{0040FF}[PM] %s: {FFFFFF}%s", Nome, text);
      SendPlayerMessageToAll(playerid, String);
}
        return 0;
}



Re: [TAG] Antes do Nick - ipsLuan - 30.12.2014

Tenta isto.

pawn Код:
public OnPlayerText(playerid, text[])
{
    new Nome[24];
    new String[128];

    if ( gTeam[playerid] == TERRORISTA ) {
      GetPlayerName(playerid, Nome, sizeof (Nome));
      format(String, sizeof (String), "{04B404}[TERROR] %s: {FFFFFF}%s", Nome, text);
      SendPlayerMessageToAll(playerid, String);
    }
   
else if( gTeam[playerid] == POLICIA )
{
      GetPlayerName(playerid, Nome, sizeof (Nome));
      format(String, sizeof (String), "{0040FF}[PM] %s: {FFFFFF}%s", Nome, text);
      SendPlayerMessageToAll(playerid, String);
}
        return 0;
}
Estou pelo celular, e capaz que de erro.


Re: [TAG] Antes do Nick - [BWL]DuST - 30.12.2014

Consegui Resolver amigo, VLW ><