[Ajuda] Warning no comando /R - Rбdio
#2

pawn Код:
CMD:r(playerid, params [])
{
    new
        Str[120],
        Nome[25],
        Texto[125]
    ;

    if (sscanf(params, "s[120]", Texto))
    {
        SendClientMessage(playerid, Branco, "Use: /r(бdio) [ Texto ]");
    }
    else
    {
        GetPlayerName(playerid, Nome, 25);
        format(Str, sizeof(Str), "CHAT -> %s Diz: {88AA88}%s", Nome, Texto);

        new orgid = rCr[playerid][Organizacao] ;
        new Cor = GetPlayerColor(playerid);

        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && rCr[i][Organizacao] == orgid) SendClientMessage(i, Cor, Str);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Warning no comando /R - Rбdio - by rCr - 30.03.2013, 01:29
Respuesta: Warning no comando /R - Rбdio - by Pedro Pawno - 30.03.2013, 01:32
Re: Warning no comando /R - Rбdio - by Jefferson Santos - 30.03.2013, 01:33
Re: Warning no comando /R - Rбdio - by Gii - 30.03.2013, 01:36
Re: Warning no comando /R - Rбdio - by rCr - 30.03.2013, 01:37
Re: Warning no comando /R - Rбdio - by smiiir - 30.03.2013, 01:37
Re: Warning no comando /R - Rбdio - by Gii - 30.03.2013, 01:39
Re: Warning no comando /R - Rбdio - by rCr - 30.03.2013, 01:46

Forum Jump:


Users browsing this thread: 8 Guest(s)