[Ajuda] Chat Global
#1

Resolvido !
Reply
#2

pawn Код:
new string[128];
Reply
#3

Resolvido !
Reply
#4

kkkkkkkkkkk ta loko hein kkk
Reply
#5

Resolvido !
Reply
#6

Resolvido !
Reply
#7

coloque um else para a condiзгo abaixo do que vocк fez, pois se ele for admin envia a mensagem com a cor imposta, porйm tambйm executa o chat de player. Provavelmente й isso.
Reply
#8

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(PlayerInfo[playerid][pAdmin] > 0 && admtrampando[playerid] == 1)
        {
        new string[128];
    format(string, sizeof(string), "Admin %s diz: %s", PlayerName(playerid), text);
    ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        SendClientMessageToAll(-1, string);
        SetPlayerChatBubble(playerid, text, COR_ADMIN, 20.0, 10000);
        return 1;
        }
}
Tentб lб
Reply
#9

Resolvido !
Reply
#10

Em OnPlayerText vocк colocou este cуdigo aн de admin. Abaixo deve ser algo, (se o seu for GM GodFather o seguinte: if(realchat), algo assim, e dentro deste if tem um format "%s diz: %s". Poste-me todo este IF para eu ajudб-lo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)