[Ajuda] ChatІ
#1

Eae galera to criando segundo tуpico ae mals mais o outro ficou na pag 3 e ngm vai ver vim aki pedir suas ajuda para poder arrumar um bug tipow quando o player digita ! [Texto] So aparece para ele mais nгo aparece para outros menbros da torcida por que sera alguem me ajuda ae porfavor cуdigo :
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(text[0] == '!')
    {
        if(PlayerInfo[playerid][pTorcida] == 1)
        {
        new Nome[24], String[128];
        GetPlayerName(playerid, Nome, sizeof(Nome));
        format(String, sizeof(String), "[Chat Gaviхes da Fiel] %s : %s", Nome, text[1]);
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(VarTorcida[i] == Torcida[i])
            {
                SendClientMessage(i, COLOR_TVP, String);
                return 0;
            }
        }
    }
    }
    return 1;
}
Reply


Messages In This Thread
ChatІ - by denis15711 - 23.07.2012, 11:04
Re: ChatІ - by Don_Speed - 23.07.2012, 11:12
Re: ChatІ - by Jason` - 23.07.2012, 11:12
Re: ChatІ - by Don_Speed - 23.07.2012, 11:20
Re: ChatІ - by blacktrindade - 23.07.2012, 11:23
Re: ChatІ - by denis15711 - 23.07.2012, 11:26
Re: ChatІ - by Schocc - 23.07.2012, 16:42
Re: ChatІ - by denis15711 - 23.07.2012, 16:47

Forum Jump:


Users browsing this thread: 1 Guest(s)