[Ajuda] Chat geral da tecla "T" (public OnPlayerText)
#1

Galera seguinte, queria que quanto o cara estivesse com mascara, ele sу falasse com a mascara, e nгo com a mascara e o nick dele

Код:
if (realchat)
	{
	    if(gPlayerLogged[playerid] == 0)
	    {
	        return 0;
      	}
      if(Mascarado[playerid] == 1)
    {
        format(str, sizeof(str), "Mascarado %d Diz: %s", MascaraNumero, text);
        SendClientMessage(playerid, 0xFFFFFFAA, str);
        return 1;
    }
    return 1;
}
		else
		{
		   	format(string, sizeof(string), "%s: %s", GetPlayerNameEx(playerid),text);
		   	ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
		   	SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
		//}
		return 0;
  	}
	return true;
}
Alguйm?
Reply


Messages In This Thread
Chat geral da tecla "T" (public OnPlayerText) - by TmZ - 12.08.2014, 01:36
Re: Chat geral da tecla "T" (public OnPlayerText) - by Bruno13 - 12.08.2014, 01:40
Re: Chat geral da tecla "T" (public OnPlayerText) - by TmZ - 12.08.2014, 01:52
Re: Chat geral da tecla "T" (public OnPlayerText) - by Schocc - 12.08.2014, 01:57
Re: Chat geral da tecla "T" (public OnPlayerText) - by PT - 12.08.2014, 02:10
Re: Chat geral da tecla "T" (public OnPlayerText) - by TmZ - 12.08.2014, 02:39

Forum Jump:


Users browsing this thread: 1 Guest(s)