[Ajuda] Chat Proximo
#1

Esse Codigo Funciona Perfeitamente, so Que Eu Quero que Tire o Chat Global? e so deiche Esse (Proximo)

Eu Escrevo e sai 2 Falas , o Do Normal e o Do Proximo, Como Resolvo Isso?


pawn Code:
public OnPlayerText(playerid, text[])
{
    if(text[0] == '!')
    {
        new Float:Pos[3], Name[24], string[128];
        GetPlayerName(playerid, Name, sizeof(Name));
        GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
        format(string, sizeof(string), "%s Diz: %s", Name, text[1]);
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerInRangeOfPoint(i, 50.0, Pos[0], Pos[1], Pos[2]))
            {
                SendClientMessage(i, -1, string);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Chat Proximo - by i7Core - 07.01.2014, 22:58
Re: Chat Proximo - by smiiir - 07.01.2014, 23:01
Respuesta: Chat Proximo - by ViniKuliveguisky - 07.01.2014, 23:02
Re: Chat Proximo - by i7Core - 07.01.2014, 23:04

Forum Jump:


Users browsing this thread: 1 Guest(s)