Scofield92

123

Oct 1st, 2017
404
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, (Ove ne radu) -> green,pink,default ]");
  8. if(strcmp(colortd, "orange", true) == 0)
  9. {
  10. TextDrawColor(Textdraw0, 0xDBB132FF);
  11. TextDrawColor(Textdraw25, 0xDBB132FF);
  12. TextDrawColor(Textdraw27, 0xDBB132FF);
  13. TextDrawColor(Textdraw28, 0xDBB132FF);
  14. TextDrawColor(Textdraw29, 0xDBB132FF);
  15. TextDrawColor(Textdraw30, 0xDBB132FF);
  16. TextDrawColor(Textdraw31, 0xDBB132FF);
  17. TextDrawColor(Textdraw32, 0xDBB132FF);
  18. }
  19. if(strcmp(colortd, "ljubicasta", true) == 0)
  20. {
  21. TextDrawColor(Textdraw0, 0x952E99FF);
  22. TextDrawColor(Textdraw0, 0x952E99FF);
  23. TextDrawColor(Textdraw25, 0x952E99FF);
  24. TextDrawColor(Textdraw27, 0x952E99FF);
  25. TextDrawColor(Textdraw28, 0x952E99FF);
  26. TextDrawColor(Textdraw29, 0x952E99FF);
  27. TextDrawColor(Textdraw30, 0x952E99FF);
  28. TextDrawColor(Textdraw31, 0x952E99FF);
  29. TextDrawColor(Textdraw32, 0x952E99FF);
  30. }
  31. if(strcmp(colortd, "zelena", true) == 0)
  32. {
  33. TextDrawColor(Textdraw0, 0x298C31FF);
  34. TextDrawColor(Textdraw25, 0x298C31FF);
  35. TextDrawColor(Textdraw27, 0x298C31FF);
  36. TextDrawColor(Textdraw28, 0x298C31FF);
  37. TextDrawColor(Textdraw29, 0x298C31FF);
  38. TextDrawColor(Textdraw30, 0x298C31FF);
  39. TextDrawColor(Textdraw31, 0x298C31FF);
  40. TextDrawColor(Textdraw32, 0x298C31FF);
  41. }
  42. if(strcmp(colortd, "crvena", true) == 0)
  43. {
  44. TextDrawColor(Textdraw0, 0xD62B2BFF);
  45. TextDrawColor(Textdraw25, 0xD62B2BFF);
  46. TextDrawColor(Textdraw27, 0xD62B2BFF);
  47. TextDrawColor(Textdraw28, 0xD62B2BFF);
  48. TextDrawColor(Textdraw29, 0xD62B2BFF);
  49. TextDrawColor(Textdraw30, 0xD62B2BFF);
  50. TextDrawColor(Textdraw31, 0xD62B2BFF);
  51. TextDrawColor(Textdraw32, 0xD62B2BFF);
  52. }
  53. else return SCM(playerid, -1, ""Ecuador"[GRESKA] "SIVA"Nepoznato ime boje!");
  54. return 1;
  55. }
Advertisement
Add Comment
Please, Sign In to add comment