Advertisement
PaulCastellano

pinki

Feb 11th, 2018
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. forward PrikazStats(playerid,targetid);
  2. public PrikazStats(playerid,targetid)
  3. {
  4. new cash = GetPlayerMoney(targetid);
  5. new otext[20];
  6. if(PlayerInfo[targetid][xDrzava] == 1) { otext = "Makedonija"; }
  7. else if(PlayerInfo[targetid][xDrzava] == 2) { otext = "Hrvatska"; }
  8. else if(PlayerInfo[targetid][xDrzava] == 3) { otext = "Srbija"; }
  9. else if(PlayerInfo[targetid][xDrzava] == 4) { otext = "Crna Gora"; }
  10. else if(PlayerInfo[targetid][xDrzava] == 5) { otext = "BiH"; }
  11. else if(PlayerInfo[targetid][xDrzava] == 6) { otext = "Ostalo"; }
  12. new ktext[50];
  13. if(PlayerInfo[ targetid ][ xProperty ][ 0 ] != 1) { ktext = "NE"; }
  14. else if(PlayerInfo [ targetid ] [ xProperty ] [ 0 ] != -1) { ktext = "DA"; }
  15.  
  16. new atext[20];
  17. if(PlayerInfo[targetid][xPol] == 1) { atext = "Musko"; }
  18. else if(PlayerInfo[targetid][xPol] == 2) { atext = "Zensko"; }
  19.  
  20. new age = PlayerInfo[targetid][xGodine];
  21. new dp = PlayerInfo[targetid][xDP];
  22. new points = PlayerInfo[targetid][xRPPoen];
  23. new rank = PlayerInfo[targetid][xRank];
  24. new clan = PlayerInfo[targetid][xClan];
  25. new ptime = PlayerInfo[targetid][xOnlineSati];
  26. new drugs = PlayerInfo[targetid][xDrug];
  27. new level = PlayerInfo[targetid][xLevel];
  28. new vozilo1 = PlayerInfo[targetid][xVoziloID][ 0 ];
  29. new vozilo2 = PlayerInfo[targetid][xVoziloID][ 1 ];
  30. new vozilo3 = PlayerInfo[targetid][xVoziloID][ 2 ];
  31. new vozilo4 = PlayerInfo[targetid][xVoziloID][ 3 ];
  32. new mats = PlayerInfo[targetid][xMaterijali];
  33. new zlt = PlayerInfo[targetid][xZlato];
  34. new g = PlayerInfo[targetid][xGSef];
  35. new exp = PlayerInfo[targetid][xRespekt];
  36. new tkp = PlayerInfo[targetid][xTK];
  37. new energ = PlayerInfo[targetid][xEnergy];
  38. new pnumber = PlayerInfo[targetid][xBrojTelefona];
  39. new account = PlayerInfo[targetid][xBRacun];
  40. new nxtlevel = PlayerInfo[targetid][xLevel]+1;
  41. new kuca1 = PlayerInfo[ targetid ][ xProperty ][ 0 ];
  42. new kuca2 = PlayerInfo[ targetid ][ xProperty ][ 1 ];
  43. new kuca3 = PlayerInfo[ targetid ][ xProperty ][ 2 ];
  44. new expamount = nxtlevel*exp;
  45. new bizkey = PlayerInfo[targetid][xFirmaID];
  46. new akcije = PlayerInfo[targetid][xAkcija];
  47. new zpolu = PlayerInfo[targetid][xZPoluge];
  48. new spolu = PlayerInfo[targetid][xSPoluge];
  49. new dmd = PlayerInfo[targetid][xDmd];
  50. //new bulevar1 = PlayerInfo[targetid][xKljucBulevara];
  51. //new ozenjen = PlayerInfo[targetid][xMarriedTo];
  52. new God, Mes, Dan;
  53. getdate(God, Mes, Dan);
  54. new Float:health;
  55. new name[MAX_PLAYER_NAME];
  56. GetPlayerName(targetid, name, sizeof(name));
  57. GetPlayerHealth(targetid,health);
  58. new Float:px,Float:py,Float:pz;// plav {80C8FE}
  59. GetPlayerPos(targetid, px, py, pz); // nara{FF6600}
  60. new coordsstring1[400];
  61. new coordsstring2[400];
  62. new coordsstring3[400];
  63. new coordsstring4[400];
  64. new coordsstring5[400];
  65. new stats[1800];// ispis statsa
  66. format(coordsstring1, sizeof(coordsstring1),"{80c8fe}Ime i Prezime:{FFFFFF}%s\n{ef0000}Osnovni Podaci\n{80c8fe}Level:{FFFFFF}%d\n{80c8fe}Respekti:{FFFFFF}%d/%d\n{80c8fe}Sati Igranja:{FFFFFF}%d\n{80c8fe}Broj Telefona:{FFFFFF}%d",name,level,exp,expamount,ptime,pnumber);
  67. format(coordsstring2, sizeof(coordsstring2),"\n{ef0000}Banka\n{FFFFFF}Akcije: %d DMD:%d ZP:%d SP:%d\nDzep:%d Banka:%d\nGold:%d Gsef:%d\nTiketi:uskoro Racuni:uskoro\n{ef0000}Licna Karta{FFFFFF}\nPol:%s Godina:%d Zlocin:uskoro Uhapsio:uskoro",akcije,dmd,zpolu,spolu,cash,account,zlt,g,atext,age);
  68. format(coordsstring3, sizeof(coordsstring3),"\n{FFFFFF}Zatvor:none Mutiran: none Posao: %s \nOrganizacija: %s Rank: %d Brak:Nije Kum:Niko\nBanovan:0 Karma: 0 HpPoints:%d TK:%d",getJobName( PlayerInfo[ targetid ][ xPosao ] ),getOrgName( PlayerInfo[ targetid ][ xClan ] ),rank,points,tkp);
  69. format(coordsstring4, sizeof(coordsstring4),"\n{ef0000}Torba{FFFFFF}\nDroga:%d Energy:%d \nMats:%d Gorivo:0 Sladoled:0 MB: 0\nPotkovice:0 GPS:1 GMF:0 DP:0\nCipovi:0\n{ef0000}Kljucevi\nKuca1:%d Kuca2:%d Kuca3:%d Biz:%d",drugs,energ,mats,dp,kuca1,kuca2,kuca3,bizkey);
  70. format(coordsstring5, sizeof(coordsstring5),"\n{FFFFFF}Vozilo1: %d Vozilo2: %d Vozilo3: %d Vozilo4: %d\nUkupno slotova za vozila: 4\nBL:{00c000} Nema",vozilo1,vozilo2,vozilo3,vozilo4);
  71. format(stats, sizeof(stats),"%s%s%s%s%s",coordsstring1,coordsstring2,coordsstring3,coordsstring4,coordsstring5);
  72. ShowPlayerDialog(playerid, sizeof(stats), DIALOG_STYLE_MSGBOX, "{FF0000}BlackMoney {FFFFFF}Licna Karta", stats , "Uredu", "Otkazi");
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement