[Pomoc]Dijalog /stats

Započeo Josip_Hrnjak, Maj 19, 2012, 21:11:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Koristim ovaj GM: Ravens Roleplay
kako mogu napraviti da mi statsi izgledaju  ovako nesto(ovo sam nasao na google slike..): http://www.dodaj.rs/f/2S/3/1P5wlTGs/sa-mp-009.png

Novi sam u skriptanju pa neznam bas puno stvari..
Trenutni statsi su prikazani u IC chatu.Evo koda od tih statsa(starih)
format(coordsstring, sizeof(coordsstring),"|_________________________________________________| %s (%d) |_________________________________________________|",name, targetid);
SendClientMessage(playerid, COLOR_GREEN,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Level: %d | Sex: %s | Age: %d | Cash: $%d | Bank: $%d | Ph: %d | Regular Rank: %s |", level,atext,age,cash,account,pnumber,drank);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Total Playing Hours: %d | Total Playing Mins: %d | Total Playing Secs: %d | BiggestFish: %d | TimesArrested: %d |",(ptime / 3600), (ptime / 60), ptime,bigfish,arrests);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Respect: %d/%d | Deaths: %d | Drugs: %d | Materials: %d | Team: %s | Rank: %s | Kills: %d | Warnings: %d |",exp,expamount,Deaths,drugs,mats,ttext,rtext, Kills,warned);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Swat Rank: %s | Tactical Rank: %s | Forces Rank: %s | DD Manager: %d | LottoNr: %d | Crimes: %d |",swatr,tacticalr,specialfr,drights,lotto,crimes);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Fighting: %s | Tester Rank: %d | ColtSkill: %d | Silenced Skill: %d | Deagle Skill: %d | Shotgun Skill: %d |",fight, tester, Colt,Silenced,Deagle, Shotgun);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| SawnSkill: %d | Combat Skill: %d | Uzi Skill: %d | SMG Skill: %d | M4 Skill: %d | AK-47 Skill: %d |", Sawn,Combat,Uzi, Smg, M4, Ak47);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| Health: %.1f | Armour: %.1f | IP: %s | Fishes: %d | Last Leaving: %s | Duty Banned: %d |", health, armour, Playersip, fishes, PlayerInfo[targetid][pWhyLeft], dban);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
format(coordsstring, sizeof(coordsstring), "| House key: %d | Business key: %d | HireKey: %d | Interior: %d | Virtual World: %d | Local: %d | Job: %s |", housekey,bizkey,HireCar[targetid],intir,virworld,local,jtext);
SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
if (PlayerInfo[targetid][pPcarkey] != 9999)
{
    new vehiclename[24];
GetVehicleName(carkey, vehiclename, sizeof(vehiclename));
    format(coordsstring, sizeof(coordsstring), "| CarID: %d | Model: %s (%d) | VehValue: %d | VehColor1: %d | VehColor2: %d | VehLocked: %d | Code: %d |",carkey,vehiclename, CarInfo[carkey][cModel], GetVehiclePrice(carkey), CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock], CarInfo[carkey][cCode]);
    SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
}
if (PlayerInfo[targetid][pPcarkey2] != 9999)
{
    new vehiclename[24];
GetVehicleName(carkey2, vehiclename, sizeof(vehiclename));
    format(coordsstring, sizeof(coordsstring), "| CarID: %d | Model: %s (%d) | VehValue: %d | VehColor1: %d | VehColor2: %d | VehLocked: %d | Code: %d |",carkey2,vehiclename, CarInfo[carkey2][cModel], GetVehiclePrice(carkey2), CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock], CarInfo[carkey2][cCode]);
    SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
}
}
}
Maper, web dizajner