Guest User

Untitled

a guest
Jul 16th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. if( dialogid == DIALOG_BOJATD ) //""CRVENA"Crvena\n"ZUTA"Zuta\n"ZELENA"Zelena\n"LJUB"Ljubicasta\n"COLOR_PINK"Roze\n"col_m"Default"
  2. {
  3. if(!response) return SendClientMessage(playerid, -1, "Odustao si od menjanja boje tdova !");
  4. switch(listitem)
  5. {
  6. case 0:
  7. {
  8. TextDrawColor(TDEditor_TD[0], 0xAA3333AA);
  9. TextDrawColor(TDEditor_TD[24], 0xAA3333AA);
  10. TextDrawColor(TDEditor_TD[25], 0xAA3333AA);
  11. TextDrawColor(TDEditor_TD[26], 0xAA3333AA);
  12. for(new i = 0; i < 46; i ++) {
  13. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  14. }
  15. SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u crvenu!");
  16. }
  17. case 1:
  18. {
  19. TextDrawColor(TDEditor_TD[0], 0x33AA33AA);
  20. TextDrawColor(TDEditor_TD[24], 0x33AA33AA);
  21. TextDrawColor(TDEditor_TD[25], 0x33AA33AA);
  22. TextDrawColor(TDEditor_TD[26], 0x33AA33AA);
  23. for(new i = 0; i < 46; i ++) {
  24. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  25. }
  26. SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u zutu!");
  27. }
  28. case 2:
  29. {
  30. TextDrawColor(TDEditor_TD[0], 0xC2A2DAAA);
  31. TextDrawColor(TDEditor_TD[24], 0xC2A2DAAA);
  32. TextDrawColor(TDEditor_TD[25], 0xC2A2DAAA);
  33. TextDrawColor(TDEditor_TD[26], 0xC2A2DAAA);
  34. for(new i = 0; i < 46; i ++) {
  35. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  36. }
  37. SendClientMessage(playerid, -1, "[BOJA TD SYSTEM]: Promenio si boju tdova u zelenu !");
  38. }
  39. case 3:
  40. {
  41. TextDrawColor(TDEditor_TD[0], 0xC2A2DAAA);
  42. TextDrawColor(TDEditor_TD[24], 0xC2A2DAAA);
  43. TextDrawColor(TDEditor_TD[25], 0xC2A2DAAA);
  44. TextDrawColor(TDEditor_TD[26], 0x33AA33AA);
  45. for(new i = 0; i < 46; i ++) {
  46. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  47. }
  48. SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u ljubicastu!");
  49. }
  50. case 4:
  51. {
  52. TextDrawColor(TDEditor_TD[0], 0xFFC0CBAA);
  53. TextDrawColor(TDEditor_TD[24], 0xFFC0CBAA);
  54. TextDrawColor(TDEditor_TD[25], 0xFFC0CBAA);
  55. TextDrawColor(TDEditor_TD[26], 0xFFC0CBAA);
  56. for(new i = 0; i < 46; i ++) {
  57. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  58. }
  59. SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u roze!");
  60. }
  61. case 5:
  62. {
  63. TextDrawColor(TDEditor_TD[0], 4562687);
  64. TextDrawColor(TDEditor_TD[24], 4562687);
  65. TextDrawColor(TDEditor_TD[25], 4562687);
  66. TextDrawColor(TDEditor_TD[26], 4562687);
  67. for(new i = 0; i < 46; i ++) {
  68. TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
  69. }
  70. SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u default!");
  71. }
  72. }
  73. return 1;
  74. }
Advertisement
Add Comment
Please, Sign In to add comment