[POMOC]Textdraw

Započeo Josip_Hrnjak, Maj 19, 2012, 12:52:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Evo ovako, kako bi mogao napraviti da mi statsi budu ovako nesto, ali naravno da sadrzavaju sve iz proslih statsa...http://www.google.hr/imgres?hl=hr&gbv=2&biw=1280&bih=699&tbm=isch&tbnid=o7srKzI1RaX-AM:&imgrefurl=http://www.los-balkan.com/index.php%3Ftopic%3D76247.200&docid=obxc1wlY6fAcwM&imgurl=http://i.imgur.com/AYvy9.png&w=800&h=600&ei=E3u3T66VGoq1tAabvrjgBw&zoom=1&iact=hc&vpx=651&vpy=50&dur=231&hovh=194&hovw=259&tx=133&ty=80&sig=108654916011955712830&page=5&tbnh=161&tbnw=215&start=75&ndsp=20&ved=1t:429,r:12,s:75,i:260

ili ovako: http://www.google.hr/imgres?hl=hr&sa=N&gbv=2&biw=1280&bih=699&tbm=isch&prmd=imvns&tbnid=tSK94_500AonvM:&imgrefurl=http://tinypic.com/view.php%3Fpic%3D160a2j8%26s%3D7&docid=yERP1yhSk9o9GM&itg=1&imgurl=http://i56.tinypic.com/160a2j8.jpg&w=1024&h=768&ei=vny3T6i4E8vLswbDxcyeCA&zoom=1&iact=hc&vpx=762&vpy=273&dur=1232&hovh=194&hovw=259&tx=150&ty=94&sig=108654916011955712830&page=2&tbnh=161&tbnw=225&start=15&ndsp=20&ved=1t:429,r:13,s:15,i:129

Evo sadasnjih statsa na tom gamemodu...
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);
}
}
}


Unaprjed HVALA!!
Poslednja Izmena: Maj 19, 2012, 12:58:42 POSLE PODNE od Josip_Hrnjak
Maper, web dizajner

Citat: Josip_Hrnjak poslato Maj 19, 2012, 12:52:06 POSLE PODNE
Evo ovako, kako bi mogao napraviti da mi statsi budu ovako nesto, ali naravno da sadrzavaju sve iz proslih statsa...http://www.google.hr/imgres?hl=hr&gbv=2&biw=1280&bih=699&tbm=isch&tbnid=o7srKzI1RaX-AM:&imgrefurl=http://www.los-balkan.com/index.php%3Ftopic%3D76247.200&docid=obxc1wlY6fAcwM&imgurl=http://i.imgur.com/AYvy9.png&w=800&h=600&ei=E3u3T66VGoq1tAabvrjgBw&zoom=1&iact=hc&vpx=651&vpy=50&dur=231&hovh=194&hovw=259&tx=133&ty=80&sig=108654916011955712830&page=5&tbnh=161&tbnw=215&start=75&ndsp=20&ved=1t:429,r:12,s:75,i:260

ili ovako: http://www.google.hr/imgres?hl=hr&sa=N&gbv=2&biw=1280&bih=699&tbm=isch&prmd=imvns&tbnid=tSK94_500AonvM:&imgrefurl=http://tinypic.com/view.php%3Fpic%3D160a2j8%26s%3D7&docid=yERP1yhSk9o9GM&itg=1&imgurl=http://i56.tinypic.com/160a2j8.jpg&w=1024&h=768&ei=vny3T6i4E8vLswbDxcyeCA&zoom=1&iact=hc&vpx=762&vpy=273&dur=1232&hovh=194&hovw=259&tx=150&ty=94&sig=108654916011955712830&page=2&tbnh=161&tbnw=225&start=15&ndsp=20&ved=1t:429,r:13,s:15,i:129

Evo sadasnjih statsa na tom gamemodu...
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);
}
}
}


Unaprjed HVALA!!

Jel mi netko moze pomoci kako da to napravim, ili staviti s cime da zamjenim stare statse?
Maper, web dizajner