Scofield92

bojatd

Oct 3rd, 2017
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. YCMD:colortd(playerid, params[],help)
  2. {
  3. #pragma unused help
  4. #pragma unused params
  5. new colortd[128];
  6. if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"[E:RP] | "Ecuador"Moras se ulogovati da bi koristio ovu komandu!");
  7. if(sscanf(params, "s[24]", colortd)) return SCM(playerid,-1,""BELA"/colortd [ Opcija - orange ,ljubicasta ,zelena,crvena,
  8. green,pink,default ]");
  9. if(strcmp(colortd, "orange", true) == 0)
  10. {
  11. TextDrawColor(Textdraw0, 0xDBB132FF);
  12. TextDrawColor(Textdraw25, 0xDBB132FF);
  13. TextDrawColor(Textdraw27, 0xDBB132FF);
  14. TextDrawColor(Textdraw28, 0xDBB132FF);
  15. TextDrawColor(Textdraw29, 0xDBB132FF);
  16. TextDrawColor(Textdraw30, 0xDBB132FF);
  17. TextDrawColor(Textdraw31, 0xDBB132FF);
  18. TextDrawColor(Textdraw32, 0xDBB132FF);
  19. }
  20. else if(strcmp(colortd, "ljubicasta", true) == 0)
  21. {
  22. TextDrawColor(Textdraw0, 0x952E99FF);
  23. TextDrawColor(Textdraw0, 0x952E99FF);
  24. TextDrawColor(Textdraw25, 0x952E99FF);
  25. TextDrawColor(Textdraw27, 0x952E99FF);
  26. TextDrawColor(Textdraw28, 0x952E99FF);
  27. TextDrawColor(Textdraw29, 0x952E99FF);
  28. TextDrawColor(Textdraw30, 0x952E99FF);
  29. TextDrawColor(Textdraw31, 0x952E99FF);
  30. TextDrawColor(Textdraw32, 0x952E99FF);
  31. }
  32. else if(strcmp(colortd, "zelena", true) == 0)
  33. {
  34. TextDrawColor(Textdraw0, 0x298C31FF);
  35. TextDrawColor(Textdraw25, 0x298C31FF);
  36. TextDrawColor(Textdraw27, 0x298C31FF);
  37. TextDrawColor(Textdraw28, 0x298C31FF);
  38. TextDrawColor(Textdraw29, 0x298C31FF);
  39. TextDrawColor(Textdraw30, 0x298C31FF);
  40. TextDrawColor(Textdraw31, 0x298C31FF);
  41. TextDrawColor(Textdraw32, 0x298C31FF);
  42. }
  43. else if(strcmp(colortd, "crvena", true) == 0)
  44. {
  45. TextDrawColor(Textdraw0, 0xD62B2BFF);
  46. TextDrawColor(Textdraw25, 0xD62B2BFF);
  47. TextDrawColor(Textdraw27, 0xD62B2BFF);
  48. TextDrawColor(Textdraw28, 0xD62B2BFF);
  49. TextDrawColor(Textdraw29, 0xD62B2BFF);
  50. TextDrawColor(Textdraw30, 0xD62B2BFF);
  51. TextDrawColor(Textdraw31, 0xD62B2BFF);
  52. TextDrawColor(Textdraw32, 0xD62B2BFF);
  53. }
  54. else return SCM(playerid, -1, ""Ecuador"[GRESKA] "SIVA"Nepoznato ime boje!");
  55. return 1;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment