[Pedido] Ajuda no /rg
#8

Poste a stock ShowStats tambem

pawn Код:
//-------------------------------[Stats]--------------------------------------------------------------------------
if (strcmp(cmd, "/rg", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo estб logado !");
        ShowStats(playerid,playerid);
    }
    return true;
}
//-------------------------------[Mostrar RG]--------------------------------------------------------------------------
if (strcmp(cmd, "/mostrarrg", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /mostrarrg [ID/Nome]");
        giveplayerid = ReturnUser(tmp);
        if(IsPlayerConnected(giveplayerid))
        {
            if(giveplayerid != INVALID_PLAYER_ID)
            {
                ShowStats(giveplayerid,playerid);
                format(string, sizeof(string), "* %s mostrou o seu rg para %s.",PlayerName(playerid),PlayerName(giveplayerid) );
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
            }
        }
    }
    return true;
}
Reply


Messages In This Thread
Ajuda no /rg - by darkturque - 05.07.2012, 15:13
Re: Ajuda no /rg - by Edu33 - 05.07.2012, 15:15
Respuesta: Ajuda no /rg - by Digao - 05.07.2012, 15:15
AW: Ajuda no /rg - by MatheusAlcapone - 05.07.2012, 15:17
Re : Ajuda no /rg - by darkturque - 05.07.2012, 15:17
AW: Ajuda no /rg - by MatheusAlcapone - 05.07.2012, 15:19
Respuesta: Ajuda no /rg - by Digao - 05.07.2012, 15:19
Re: Ajuda no /rg - by dPlaYer_ - 05.07.2012, 15:19
Re: Ajuda no /rg - by Edu33 - 05.07.2012, 15:19
Re : Re: Ajuda no /rg - by darkturque - 05.07.2012, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)