19.05.2012, 14:46
How can i make the stats to look like this.. http://www.dodaj.rs/f/2S/3/1P5wlTGs/sa-mp-009.png
ofcourse they must have everything i have in these old stats... Please help me.
here is te part of the script with stats:
ofcourse they must have everything i have in these old stats... Please help me.
here is te part of the script with stats:
Код:
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); } } }