20.10.2014, 03:29
Como eu fasso para tira o Chat proximo é coloca o Global, Alguem me ajuda?
// EDITA DO JEITO QUE VOCК QUER
public OnPlayerText(playerid, text[])
{
new pTexto[144];
format(pTexto, sizeof (pTexto), "(ID:%d): {F0FFFF}%s", playerid, text);
SendPlayerMessageToAll(playerid, pTexto);
SetPlayerChatBubble(playerid, text, 0x00CED1FF, 100.0, 10000);
return 0;
}
// WIKI
public OnPlayerText(playerid, text[])
{
new pText[144];
format(pText, sizeof (pText), "(%d) %s", playerid, text);
SendPlayerMessageToAll(playerid, pText);
return 0; // ignore the default text and send the custom one
}