Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:colortd(playerid, params[],help)
- {
- #pragma unused help
- #pragma unused params
- new colortd[128];
- if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"[E:RP] | "Ecuador"Moras se ulogovati da bi koristio ovu komandu!");
- if(sscanf(params, "s[24]", colortd)) return SCM(playerid,-1,""BELA"/colortd [ Opcija - orange ,ljubicasta ,zelena,crvena, (Ove ne radu) -> green,pink,default ]");
- if(strcmp(colortd, "orange", true) == 0)
- {
- TextDrawColor(Textdraw0, 0xDBB132FF);
- TextDrawColor(Textdraw25, 0xDBB132FF);
- TextDrawColor(Textdraw27, 0xDBB132FF);
- TextDrawColor(Textdraw28, 0xDBB132FF);
- TextDrawColor(Textdraw29, 0xDBB132FF);
- TextDrawColor(Textdraw30, 0xDBB132FF);
- TextDrawColor(Textdraw31, 0xDBB132FF);
- TextDrawColor(Textdraw32, 0xDBB132FF);
- }
- if(strcmp(colortd, "ljubicasta", true) == 0)
- {
- TextDrawColor(Textdraw0, 0x952E99FF);
- TextDrawColor(Textdraw0, 0x952E99FF);
- TextDrawColor(Textdraw25, 0x952E99FF);
- TextDrawColor(Textdraw27, 0x952E99FF);
- TextDrawColor(Textdraw28, 0x952E99FF);
- TextDrawColor(Textdraw29, 0x952E99FF);
- TextDrawColor(Textdraw30, 0x952E99FF);
- TextDrawColor(Textdraw31, 0x952E99FF);
- TextDrawColor(Textdraw32, 0x952E99FF);
- }
- if(strcmp(colortd, "zelena", true) == 0)
- {
- TextDrawColor(Textdraw0, 0x298C31FF);
- TextDrawColor(Textdraw25, 0x298C31FF);
- TextDrawColor(Textdraw27, 0x298C31FF);
- TextDrawColor(Textdraw28, 0x298C31FF);
- TextDrawColor(Textdraw29, 0x298C31FF);
- TextDrawColor(Textdraw30, 0x298C31FF);
- TextDrawColor(Textdraw31, 0x298C31FF);
- TextDrawColor(Textdraw32, 0x298C31FF);
- }
- if(strcmp(colortd, "crvena", true) == 0)
- {
- TextDrawColor(Textdraw0, 0xD62B2BFF);
- TextDrawColor(Textdraw25, 0xD62B2BFF);
- TextDrawColor(Textdraw27, 0xD62B2BFF);
- TextDrawColor(Textdraw28, 0xD62B2BFF);
- TextDrawColor(Textdraw29, 0xD62B2BFF);
- TextDrawColor(Textdraw30, 0xD62B2BFF);
- TextDrawColor(Textdraw31, 0xD62B2BFF);
- TextDrawColor(Textdraw32, 0xD62B2BFF);
- }
- else return SCM(playerid, -1, ""Ecuador"[GRESKA] "SIVA"Nepoznato ime boje!");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment