Код:
function ShowStats(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new cash = GetPlayerMoney(targetid); new account = PlayerInfo[targetid][pAccount];
new carkey = PlayerInfo[targetid][pPcarkey]; new carkey2 = PlayerInfo[targetid][pPcarkey2];
new CarPremium = PlayerInfo[targetid][pCarPremium];
new nxtlevel = PlayerInfo[targetid][pLevel]+1; new expamount = nxtlevel*levelexp;
ClearChatbox(playerid, 10);
new coordsstring[128];
format(coordsstring, sizeof(coordsstring),"| Tus Stats : %s",PlayerName(targetid));
Message(playerid, 0x009BE6FF,coordsstring);
format(coordsstring, sizeof(coordsstring),"| Edad[%d] Nivel[%d] Sexo[%s] Capital[%d$] Telйfono[%d] Seguro[%s] Adver[%d]", PlayerInfo[targetid][pAge],PlayerInfo[targetid][pLevel],PlayerStatInfo[targetid][0],cash+account,PlayerInfo[targetid][pPnumber], PlayerStatInfo[targetid][7], PlayerInfo[targetid][pAdvertencias]);
Message(playerid, COLOR_GRAD3,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Proximo Nivel: %d (%d/%d) Facciуn[%s] Rango[%s] Trabajo[%s]", nxtlevel,PlayerInfo[targetid][pExp],expamount,PlayerInfo[targetid][3],PlayerStatInfo[targetid][4],PlayerStatInfo[targetid][2]);
Message(playerid, COLOR_GRAD3,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Horas Jugadas[%d] Muertes[%d] Arrestos[%d] Frags[%d] Casado[%s] {23F7FA}Premium{FFFFFF}[%s]",PlayerInfo[targetid][pConnectTime],PlayerInfo[targetid][pDeaths],PlayerInfo[targetid][pArrested],PlayerInfo[targetid][pKills], PlayerStatInfo[targetid][6], PlayerStatInfo[targetid][5]);
Message(playerid, COLOR_GRAD3,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Casa[%d] Coche1[%d] Coche2[%d] Negocio[%d] Coche Renta[%d] Casa Renta[%d]",PlayerInfo[targetid][pPhousekey], PlayerInfo[targetid][pPcarkey], PlayerInfo[targetid][pPcarkey2], PlayerInfo[targetid][pPbizzkey], HireKey[targetid], PlayerInfo[targetid][pRent]);
Message(playerid, COLOR_GRAD3,coordsstring);
if(PlayerInfo[targetid][pPcarkey] != 9999)
{
format(coordsstring, sizeof(coordsstring), "| Vehнculo1: %s Valor: %d$ Colores:%d/%d Locked:%d", CarInfo[carkey][cName], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);
Message(playerid, COLOR_GRAD3,coordsstring);
}
if(PlayerInfo[targetid][pPcarkey2] != 9999)
{
format(coordsstring, sizeof(coordsstring), "| Vehнculo2: %s Valor: %d$ Colores:%d/%d Locked:%d", CarInfo[carkey2][cName], CarInfo[carkey2][cValue], CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock], CarInfo[carkey2][cLock]);
Message(playerid, COLOR_GRAD3,coordsstring);
}
if(PlayerInfo[targetid][pCarPremium] != 9999)
{
format(coordsstring, sizeof(coordsstring), "| Vehнculo Premium: %s Valor: %d$ Colores:%d/%d Locked:%d Llave:%d", CarInfo[CarPremium][cName], CarInfo[CarPremium][cValue], CarInfo[CarPremium][cColorOne], CarInfo[CarPremium][cColorTwo], CarInfo[CarPremium][cLock], CarPremium);
Message(playerid, COLOR_GRAD3,coordsstring);
}
}
}
Bueno, espero que me puedan ayudar, gracias de antemano.