Guest User

Untitled

a guest
Oct 18th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. if(UlogovanIgrac[playerid] == 1)
  2. {
  3. new novac[128];
  4. format(novac, sizeof(novac), "~b~BANK: ~w~%d$", PlayerInfo[playerid][pAccount]);
  5. PlayerTextDrawSetString(playerid, Banka[playerid], novac);
  6. new gold[128];
  7. format(gold, sizeof(gold), "~y~ZLATO: ~w~%dg", PlayerInfo[playerid][pZlato]);
  8. PlayerTextDrawSetString(playerid, Zlato[playerid], gold);
  9. new plata[128];
  10. format(plata, sizeof(plata), "~r~PLATA: ~w~%d$", PlayerInfo[playerid][pPlata]);
  11. PlayerTextDrawSetString(playerid, PlataT[playerid], plata);
  12.  
  13. }
  14.  
  15. Zona[i] = CreatePlayerTextDraw(i, 51.599964, 431.173309, "~w~CENTAR_GRADA");
  16. PlayerTextDrawAlignment(i, Zona[i], 2);
  17. PlayerTextDrawBackgroundColor(i, Zona[i], 255);
  18. PlayerTextDrawFont(i, Zona[i], 2);
  19. PlayerTextDrawLetterSize(i, Zona[i], 0.211999, 0.883199);
  20. PlayerTextDrawColor(i, Zona[i], -1);
  21. PlayerTextDrawSetOutline(i, Zona[i], 1);
  22. PlayerTextDrawSetProportional(i, Zona[i], 1);
  23.  
  24. Banka[i] = CreatePlayerTextDraw(i, 500.000000, 99.000000, "BANK: ~w~loading...");
  25. PlayerTextDrawBackgroundColor(i, Banka[i], 255);
  26. PlayerTextDrawFont(i, Banka[i], 2);
  27. PlayerTextDrawLetterSize(i, Banka[i], 0.300000, 1.200000);
  28. PlayerTextDrawColor(i, Banka[i], -1);
  29. PlayerTextDrawSetOutline(i, Banka[i], 1);
  30. PlayerTextDrawSetProportional(i, Banka[i], 1);
  31. PlayerTextDrawSetShadow(i, Banka[i], 0);
  32.  
  33. Zlato[i] = CreatePlayerTextDraw(i, 500.000000, 109.000000, "ZLATO: ~w~loading...");
  34. PlayerTextDrawBackgroundColor(i, Zlato[i], 255);
  35. PlayerTextDrawFont(i, Zlato[i], 2);
  36. PlayerTextDrawLetterSize(i, Zlato[i], 0.300000, 1.200000);
  37. PlayerTextDrawColor(i, Zlato[i], -1);
  38. PlayerTextDrawSetOutline(i, Zlato[i], 1);
  39. PlayerTextDrawSetProportional(i, Zlato[i], 1);
  40. PlayerTextDrawSetShadow(i, Zlato[i], 0);
  41.  
  42. PlataT[i] = CreatePlayerTextDraw(i, 500.000000, 119.000000, "PLATA: ~w~loading...");
  43. PlayerTextDrawBackgroundColor(i, PlataT[i], 255);
  44. PlayerTextDrawFont(i, PlataT[i], 2);
  45. PlayerTextDrawLetterSize(i, PlataT[i], 0.300000, 1.200000);
  46. PlayerTextDrawColor(i, PlataT[i], -1);
  47. PlayerTextDrawSetOutline(i, PlataT[i], 1);
  48. PlayerTextDrawSetProportional(i, PlataT[i], 1);
  49. PlayerTextDrawSetShadow(i, PlataT[i], 0);
  50.  
  51. if(UlogovanIgrac[playerid] == 1)
  52. {
  53. new strr[64];
  54. if(UsaoInt[playerid] == 0)
  55. {
  56. new zone[30];
  57. GetPlayer2DZone(playerid, zone, 30);
  58. format(strr,sizeof(strr),"%s", zone);
  59. }
  60. else if(UsaoInt[playerid] == 1)
  61. {
  62. format(strr,sizeof(strr),"Nema Signala");
  63. }
  64. else
  65. {
  66. format(strr,sizeof(strr),"Nema Signala");
  67. }
  68. format(zonawl[playerid], 64, strr);
  69. PlayerTextDrawSetString(playerid, Zona[playerid], strr);
  70. }
  71.  
  72. TextDrawSetString(PorukeTD5, PromenjljivePoruke[random(sizeof(PromenjljivePoruke))]);
  73. new yea,mea,dea;
  74. getdate(yea,mea,dea);
  75. new srk[64];
  76. format(srk, 64, "%02d/%02d/%d",dea,mea,yea);
  77. TextDrawSetString(Datum_TD, srk);
  78.  
  79.  
  80. PorukeTD0 = TextDrawCreate(-1.999980, 428.986785, "box");
  81. TextDrawLetterSize(PorukeTD0, 0.000000, 1.520001);
  82. TextDrawTextSize(PorukeTD0, 657.000000, 0.000000);
  83. TextDrawAlignment(PorukeTD0, 1);
  84. TextDrawColor(PorukeTD0, -1);
  85. TextDrawUseBox(PorukeTD0, 1);
  86. TextDrawBoxColor(PorukeTD0, 100);
  87. TextDrawSetShadow(PorukeTD0, 0);
  88. TextDrawSetOutline(PorukeTD0, 0);
  89. TextDrawBackgroundColor(PorukeTD0, 255);
  90. TextDrawFont(PorukeTD0, 1);
  91. TextDrawSetProportional(PorukeTD0, 1);
  92. TextDrawSetShadow(PorukeTD0, 0);
  93.  
  94. PorukeTD1 = TextDrawCreate(-14.799966, 427.193572, "box");
  95. TextDrawLetterSize(PorukeTD1, 0.000000, -0.319999);
  96. TextDrawTextSize(PorukeTD1, 677.000000, 0.000000);
  97. TextDrawAlignment(PorukeTD1, 1);
  98. TextDrawColor(PorukeTD1, -1);
  99. TextDrawUseBox(PorukeTD1, 1);
  100. TextDrawBoxColor(PorukeTD1, 848756735);
  101. TextDrawSetShadow(PorukeTD1, 0);
  102. TextDrawSetOutline(PorukeTD1, 0);
  103. TextDrawBackgroundColor(PorukeTD1, 255);
  104. TextDrawFont(PorukeTD1, 1);
  105. TextDrawSetProportional(PorukeTD1, 1);
  106. TextDrawSetShadow(PorukeTD1, 0);
  107.  
  108. PorukeTD2 = TextDrawCreate(-13.199966, 445.860351, "box");
  109. TextDrawLetterSize(PorukeTD2, 0.000000, -0.319999);
  110. TextDrawTextSize(PorukeTD2, 679.000000, 0.000000);
  111. TextDrawAlignment(PorukeTD2, 1);
  112. TextDrawColor(PorukeTD2, -1);
  113. TextDrawUseBox(PorukeTD2, 1);
  114. TextDrawBoxColor(PorukeTD2, 848756735);
  115. TextDrawSetShadow(PorukeTD2, 0);
  116. TextDrawSetOutline(PorukeTD2, 0);
  117. TextDrawBackgroundColor(PorukeTD2, 255);
  118. TextDrawFont(PorukeTD2, 1);
  119. TextDrawSetProportional(PorukeTD2, 1);
  120. TextDrawSetShadow(PorukeTD2, 0);
  121.  
  122. PorukeTD3 = TextDrawCreate(110.000030, 428.628173, "box");
  123. TextDrawLetterSize(PorukeTD3, 0.000000, 1.520003);
  124. TextDrawTextSize(PorukeTD3, 106.000000, 0.000000);
  125. TextDrawAlignment(PorukeTD3, 1);
  126. TextDrawColor(PorukeTD3, -1);
  127. TextDrawUseBox(PorukeTD3, 1);
  128. TextDrawBoxColor(PorukeTD3, 848756735);
  129. TextDrawSetShadow(PorukeTD3, 0);
  130. TextDrawSetOutline(PorukeTD3, 0);
  131. TextDrawBackgroundColor(PorukeTD3, 255);
  132. TextDrawFont(PorukeTD3, 1);
  133. TextDrawSetProportional(PorukeTD3, 1);
  134. TextDrawSetShadow(PorukeTD3, 0);
  135.  
  136. PorukeTD4 = TextDrawCreate(492.099731, 427.134796, "box");
  137. TextDrawLetterSize(PorukeTD4, 0.000000, 1.520003);
  138. TextDrawTextSize(PorukeTD4, 488.679687, 0.000000);
  139. TextDrawAlignment(PorukeTD4, 1);
  140. TextDrawColor(PorukeTD4, -1);
  141. TextDrawUseBox(PorukeTD4, 1);
  142. TextDrawBoxColor(PorukeTD4, 848756735);
  143. TextDrawSetShadow(PorukeTD4, 0);
  144. TextDrawSetOutline(PorukeTD4, 0);
  145. TextDrawBackgroundColor(PorukeTD4, 255);
  146. TextDrawFont(PorukeTD4, 1);
  147. TextDrawSetProportional(PorukeTD4, 1);
  148. TextDrawSetShadow(PorukeTD4, 0);
  149.  
  150. PorukeTD5 = TextDrawCreate(295.999328, 430.924560, "DOBRODOSLI_NA_BALKAN_EXTRA_ROLEPLAY_SERVER");
  151. TextDrawLetterSize(PorukeTD5, 0.211999, 0.883199);
  152. TextDrawAlignment(PorukeTD5, 2);
  153. TextDrawColor(PorukeTD5, -1);
  154. TextDrawSetShadow(PorukeTD5, 0);
  155. TextDrawSetOutline(PorukeTD5, 1);
  156. TextDrawBackgroundColor(PorukeTD5, 255);
  157. TextDrawFont(PorukeTD5, 2);
  158. TextDrawSetProportional(PorukeTD5, 1);
  159. TextDrawSetShadow(PorukeTD5, 0);
  160.  
  161. Datum_TD = TextDrawCreate(515.905944, 431.920043, "18/05/2016");
  162. TextDrawLetterSize(Datum_TD, 0.211998, 0.883198);
  163. TextDrawAlignment(Datum_TD, 1);
  164. TextDrawColor(Datum_TD, -1);
  165. TextDrawSetShadow(Datum_TD, 0);
  166. TextDrawSetOutline(Datum_TD, 1);
  167. TextDrawBackgroundColor(Datum_TD, 255);
  168. TextDrawFont(Datum_TD, 2);
  169. TextDrawSetProportional(Datum_TD, 1);
  170. TextDrawSetShadow(Datum_TD, 0);
  171.  
  172. Vreme_TD = TextDrawCreate(590.697692, 431.273529, "13:00");
  173. TextDrawLetterSize(Vreme_TD, 0.211998, 0.883198);
  174. TextDrawAlignment(Vreme_TD, 1);
  175. TextDrawColor(Vreme_TD, -1);
  176. TextDrawSetShadow(Vreme_TD, 0);
  177. TextDrawSetOutline(Vreme_TD, 1);
  178. TextDrawBackgroundColor(Vreme_TD, 255);
  179. TextDrawFont(Vreme_TD, 2);
  180. TextDrawSetProportional(Vreme_TD, 1);
  181. TextDrawSetShadow(Vreme_TD, 0);
Advertisement
Add Comment
Please, Sign In to add comment