[Ajuda] Chat Global
#8

Pode sim, й sу vocк adicionar na linha certa e colocar if depois do else.
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(Chatlb == 1)
    {
        if(pAdmin[playerid] >= 1)
        {
            format(string, sizeof(string), "{33AA33}[ADM]:[ID: %d]{9E3EFF} %s", playerid, text);
            SendPlayerMessageToAll(playerid, string);
        }
        else if(IsPlayerVIP(playerid))
        {
            format(string, sizeof(string), " ™[ID: %d]{9E3EFF} %s       {33AA33}[VIP]", playerid, text);
            SendPlayerMessageToAll(playerid, string);
        }
        else
        {
            format(string, sizeof(string), "[ID: %d]{9E3EFF} %s", playerid, text);
            SendPlayerMessageToAll(playerid, string);
        }
    }
    else
    {
        ChatProximo(playerid, text);
    }
    return 0;
}
Reply


Messages In This Thread
Chat Global[Re-Aberto] - by MrPaulistinha - 08.11.2013, 19:50
Re: Chat Global - by GReeN_WOoD - 08.11.2013, 21:36
Re: Chat Global - by MrPaulistinha - 09.11.2013, 00:16
Re: Chat Global - by GReeN_WOoD - 09.11.2013, 03:32
Re: Chat Global - by bruxo00 - 09.11.2013, 11:14
Re: Chat Global - by MrPaulistinha - 09.11.2013, 15:01
Re: Chat Global - by MrPaulistinha - 10.11.2013, 02:05
Re: Chat Global - by andreasbleck - 10.11.2013, 02:10
Re: Chat Global - by MrPaulistinha - 10.11.2013, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)