05.07.2012, 15:19
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;
}