Advertisement
Guest User

Untitled

a guest
Jun 15th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. stock GetWantedPoints(playerid) return NivelProc[playerid];
  2. stock SetWantedPoints(playerid, points)
  3. {
  4. NivelProc[playerid] = points;
  5. switch(points)
  6. {
  7. case 1..6: SetPlayerWantedLevel(playerid, points);
  8. }
  9. for(new i; i < NivelProc[playerid]-6; i++)
  10. {
  11. PlayerTextDrawShow(playerid, TextProc[i]);
  12. }
  13. return true;
  14. }
  15.  
  16. stock CreateWantedTextDraw(playerid)
  17. {
  18. TextProc[0] = CreatePlayerTextDraw(playerid, 486.000000, 124.000000, "[]");
  19. PlayerTextDrawBackgroundColor(playerid, TextProc[0], 255);
  20. PlayerTextDrawFont(playerid, TextProc[0], 0);
  21. PlayerTextDrawLetterSize(playerid, TextProc[0], 0.509999, 2.100000);
  22. PlayerTextDrawColor(playerid, TextProc[0], 65535);
  23. PlayerTextDrawSetOutline(playerid, TextProc[0], 1);
  24. PlayerTextDrawSetProportional(playerid, TextProc[0], 1);
  25.  
  26. TextProc[1] = CreatePlayerTextDraw(playerid, 505.000000, 124.000000, "[]");
  27. PlayerTextDrawBackgroundColor(playerid, TextProc[1], 255);
  28. PlayerTextDrawFont(playerid, TextProc[1], 0);
  29. PlayerTextDrawLetterSize(playerid, TextProc[1], 0.509999, 2.100000);
  30. PlayerTextDrawColor(playerid, TextProc[1], 65535);
  31. PlayerTextDrawSetOutline(playerid, TextProc[1], 1);
  32. PlayerTextDrawSetProportional(playerid, TextProc[1], 1);
  33.  
  34. TextProc[2] = CreatePlayerTextDraw(playerid, 523.000000, 124.000000, "[]");
  35. PlayerTextDrawBackgroundColor(playerid, TextProc[2], 255);
  36. PlayerTextDrawFont(playerid, TextProc[2], 0);
  37. PlayerTextDrawLetterSize(playerid, TextProc[2], 0.509999, 2.100000);
  38. PlayerTextDrawColor(playerid, TextProc[2], 65535);
  39. PlayerTextDrawSetOutline(playerid, TextProc[2], 1);
  40. PlayerTextDrawSetProportional(playerid, TextProc[2], 1);
  41.  
  42. TextProc[3] = CreatePlayerTextDraw(playerid, 541.000000, 124.000000, "[]");
  43. PlayerTextDrawBackgroundColor(playerid, TextProc[3], 255);
  44. PlayerTextDrawFont(playerid, TextProc[3], 0);
  45. PlayerTextDrawLetterSize(playerid, TextProc[3], 0.509999, 2.100000);
  46. PlayerTextDrawColor(playerid, TextProc[3], 65535);
  47. PlayerTextDrawSetOutline(playerid, TextProc[3], 1);
  48. PlayerTextDrawSetProportional(playerid, TextProc[3], 1);
  49.  
  50. TextProc[4] = CreatePlayerTextDraw(playerid, 559.000000, 124.000000, "[]");
  51. PlayerTextDrawBackgroundColor(playerid, TextProc[4], 255);
  52. PlayerTextDrawFont(playerid, TextProc[4], 0);
  53. PlayerTextDrawLetterSize(playerid, TextProc[4], 0.509999, 2.100000);
  54. PlayerTextDrawColor(playerid, TextProc[4], 65535);
  55. PlayerTextDrawSetOutline(playerid, TextProc[4], 1);
  56. PlayerTextDrawSetProportional(playerid, TextProc[4], 1);
  57.  
  58. TextProc[5] = CreatePlayerTextDraw(playerid, 577.000000, 124.000000, "[]");
  59. PlayerTextDrawBackgroundColor(playerid, TextProc[5], 255);
  60. PlayerTextDrawFont(playerid, TextProc[5], 0);
  61. PlayerTextDrawLetterSize(playerid, TextProc[5], 0.509999, 2.100000);
  62. PlayerTextDrawColor(playerid, TextProc[5], 65535);
  63. PlayerTextDrawSetOutline(playerid, TextProc[5], 1);
  64. PlayerTextDrawSetProportional(playerid, TextProc[5], 1);
  65.  
  66. TextProc[6] = CreatePlayerTextDraw(playerid, 486.000000, 144.000000, "[]");
  67. PlayerTextDrawBackgroundColor(playerid, TextProc[6], 255);
  68. PlayerTextDrawFont(playerid, TextProc[6], 0);
  69. PlayerTextDrawLetterSize(playerid, TextProc[6], 0.509999, 2.100000);
  70. PlayerTextDrawColor(playerid, TextProc[6], -16776961);
  71. PlayerTextDrawSetOutline(playerid, TextProc[6], 1);
  72. PlayerTextDrawSetProportional(playerid, TextProc[6], 1);
  73.  
  74. TextProc[7] = CreatePlayerTextDraw(playerid, 505.000000, 144.000000, "[]");
  75. PlayerTextDrawBackgroundColor(playerid, TextProc[7], 255);
  76. PlayerTextDrawFont(playerid, TextProc[7], 0);
  77. PlayerTextDrawLetterSize(playerid, TextProc[7], 0.509999, 2.100000);
  78. PlayerTextDrawColor(playerid, TextProc[7], -16776961);
  79. PlayerTextDrawSetOutline(playerid, TextProc[7], 1);
  80. PlayerTextDrawSetProportional(playerid, TextProc[7], 1);
  81.  
  82. TextProc[8] = CreatePlayerTextDraw(playerid, 523.000000, 144.000000, "[]");
  83. PlayerTextDrawBackgroundColor(playerid, TextProc[8], 255);
  84. PlayerTextDrawFont(playerid, TextProc[8], 0);
  85. PlayerTextDrawLetterSize(playerid, TextProc[8], 0.509999, 2.100000);
  86. PlayerTextDrawColor(playerid, TextProc[8], -16776961);
  87. PlayerTextDrawSetOutline(playerid, TextProc[8], 1);
  88. PlayerTextDrawSetProportional(playerid, TextProc[8], 1);
  89.  
  90. TextProc[9] = CreatePlayerTextDraw(playerid, 541.000000, 144.000000, "[]");
  91. PlayerTextDrawBackgroundColor(playerid, TextProc[9], 255);
  92. PlayerTextDrawFont(playerid, TextProc[9], 0);
  93. PlayerTextDrawLetterSize(playerid, TextProc[9], 0.509999, 2.100000);
  94. PlayerTextDrawColor(playerid, TextProc[9], -16776961);
  95. PlayerTextDrawSetOutline(playerid, TextProc[9], 1);
  96. PlayerTextDrawSetProportional(playerid, TextProc[9], 1);
  97.  
  98. TextProc[10] = CreatePlayerTextDraw(playerid, 559.000000, 144.000000, "[]");
  99. PlayerTextDrawBackgroundColor(playerid, TextProc[10], 255);
  100. PlayerTextDrawFont(playerid, TextProc[10], 0);
  101. PlayerTextDrawLetterSize(playerid, TextProc[10], 0.509999, 2.100000);
  102. PlayerTextDrawColor(playerid, TextProc[10], -16776961);
  103. PlayerTextDrawSetOutline(playerid, TextProc[10], 1);
  104. PlayerTextDrawSetProportional(playerid, TextProc[10], 1);
  105.  
  106. TextProc[11] = CreatePlayerTextDraw(playerid, 577.000000, 144.000000, "[]");
  107. PlayerTextDrawBackgroundColor(playerid, TextProc[11], 255);
  108. PlayerTextDrawFont(playerid, TextProc[11], 0);
  109. PlayerTextDrawLetterSize(playerid, TextProc[11], 0.509999, 2.100000);
  110. PlayerTextDrawColor(playerid, TextProc[11], -16776961);
  111. PlayerTextDrawSetOutline(playerid, TextProc[11], 1);
  112. PlayerTextDrawSetProportional(playerid, TextProc[11], 1);
  113. return true;
  114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement