Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:tdcolor(playerid, params[])
- {
- new bojatd[20];
- if( sscanf( params, "s[20]", bojatd) ) return KORISCENJE( playerid, SERVERBOJA, "IZABERI: (( {ffffff}/tdcolor |CRVENA| |PLAVA| |ROZA| |ZUTA| |LJUBICASTA| |NARANDZASTA| |DEFAULT| )");
- if( !strcmp( bojatd, "default"))
- {
- //TextDrawColor(ServerPoruke[0], 0x034587FF); /// 9,7,5 NE!
- TextDrawColor(ServerPoruke[1], 0x034587FF);
- TextDrawColor(ServerPoruke[2], 0x034587FF);
- TextDrawColor(ServerPoruke[3], 0x034587FF);
- TextDrawColor(ServerPoruke[4], 0x034587FF);
- TextDrawColor(ServerPoruke[6], 0x034587FF);
- TextDrawColor(ServerPoruke[8], 0x034587FF);
- TextDrawColor(ServerPoruke[10], 0x034587FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0x034587FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0x034587FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0x034587FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0x034587FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0x034587FF);
- /* TextDrawColor(ServerPoruke[19], -2147483393);
- TextDrawColor(ServerPoruke[20], -2147483393);
- TextDrawColor(ServerPoruke[21], -2147483393);*/
- //TextDrawColor(Logo[1], -2147483393);
- //TextDrawColor(Logo[3], -2147483393);
- /*PlayerTextDrawColor(playerid,DropDownMenu[playerid][0], -2147483393);
- PlayerTextDrawColor(playerid,DropDownMenu[playerid][1], -2147483393);
- PlayerTextDrawColor(playerid,DropDownMenu[playerid][2], -2147483393);*/
- /*PlayerTextDrawColor(playerid, BRZINOMER[playerid][1], -2147483393);
- PlayerTextDrawColor(playerid, BRZINOMER[playerid][2], -2147483393);
- PlayerTextDrawColor(playerid, BRZINOMER[playerid][3], -2147483393);*/
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- /* TextDrawShowForPlayer(playerid,ServerPoruke[19]);
- TextDrawShowForPlayer(playerid,ServerPoruke[20]);
- TextDrawShowForPlayer(playerid,ServerPoruke[21]);*/
- //TextDrawShowForPlayer(playerid,ServerPoruke[9]);
- SCM(playerid, -1, "Promenili ste boju tdova u default-u/plavu.");
- }
- else if(!strcmp(bojatd, "zelena"))
- {
- //TextDrawColor(ServerPoruke[0], 0x21DD00FF);
- TextDrawColor(ServerPoruke[1], 0x21DD00FF);
- TextDrawColor(ServerPoruke[2], 0x21DD00FF);
- TextDrawColor(ServerPoruke[3], 0x21DD00FF);
- TextDrawColor(ServerPoruke[4], 0x21DD00FF);
- TextDrawColor(ServerPoruke[6], 0x21DD00FF);
- TextDrawColor(ServerPoruke[8], 0x21DD00FF);
- TextDrawColor(ServerPoruke[10], 0x21DD00FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0x21DD00FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0x21DD00FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0x21DD00FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0x21DD00FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0x21DD00FF);
- // TextDrawColor(ServerPoruke[19], 0x21DD00FF);
- //TextDrawColor(ServerPoruke[20], 0x21DD00FF);
- //TextDrawColor(ServerPoruke[21], 0x21DD00FF);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u zelenu.");
- }
- else if(!strcmp(bojatd, "roza"))
- {
- //TextDrawColor(ServerPoruke[0], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[1], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[2], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[3], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[4], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[6], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[8], 0xFF66FFAA);
- TextDrawColor(ServerPoruke[10], 0xFF66FFAA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0xFF66FFAA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0xFF66FFAA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0xFF66FFAA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0xFF66FFAA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0xFF66FFAA);
- // TextDrawColor(ServerPoruke[19], 0xFF66FFAA);
- // TextDrawColor(ServerPoruke[20], 0xFF66FFAA);
- //TextDrawColor(ServerPoruke[21], 0xFF66FFAA);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u rozu.");
- }
- else if(!strcmp(bojatd, "zuta"))
- {
- ////TextDrawColor(ServerPoruke[0], 0xFFC801C8);
- TextDrawColor(ServerPoruke[1], 0xFFC801C8);
- TextDrawColor(ServerPoruke[2], 0xFFC801C8);
- TextDrawColor(ServerPoruke[3], 0xFFC801C8);
- TextDrawColor(ServerPoruke[4], 0xFFC801C8);
- TextDrawColor(ServerPoruke[6], 0xFFC801C8);
- TextDrawColor(ServerPoruke[8], 0xFFC801C8);
- TextDrawColor(ServerPoruke[10], 0xFFC801C8);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0xFFC801C8);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0xFFC801C8);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0xFFC801C8);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0xFFC801C8);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0xFFC801C8);
- // TextDrawColor(ServerPoruke[19], 0xFFC801C8);
- // TextDrawColor(ServerPoruke[20], 0xFFC801C8);
- //TextDrawColor(ServerPoruke[21], 0xFFC801C8);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u zutu.");
- }
- else if(!strcmp(bojatd, "ljubicasta"))
- {
- //TextDrawColor(ServerPoruke[0], 0x800080FF);
- TextDrawColor(ServerPoruke[1], 0x800080FF);
- TextDrawColor(ServerPoruke[2], 0x800080FF);
- TextDrawColor(ServerPoruke[3], 0x800080FF);
- TextDrawColor(ServerPoruke[4], 0x800080FF);
- TextDrawColor(ServerPoruke[6], 0x800080FF);
- TextDrawColor(ServerPoruke[8], 0x800080FF);
- TextDrawColor(ServerPoruke[10], 0x800080FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0x800080FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0x800080FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0x800080FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0x800080FF);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0x800080FF);
- //TextDrawColor(ServerPoruke[19], 0xF9B7FFAA);
- //TextDrawColor(ServerPoruke[20], 0xF9B7FFAA);
- //TextDrawColor(ServerPoruke[21], 0xF9B7FFAA);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u ljubicastu.");
- }
- else if(!strcmp(bojatd, "narandzasta"))
- {
- //TextDrawColor(ServerPoruke[0], 0xFF9900AA);
- TextDrawColor(ServerPoruke[1], 0xFF9900AA);
- TextDrawColor(ServerPoruke[2], 0xFF9900AA);
- TextDrawColor(ServerPoruke[3], 0xFF9900AA);
- TextDrawColor(ServerPoruke[4], 0xFF9900AA);
- TextDrawColor(ServerPoruke[6], 0xFF9900AA);
- TextDrawColor(ServerPoruke[8], 0xFF9900AA);
- TextDrawColor(ServerPoruke[10], 0xFF9900AA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], 0xFF9900AA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], 0xFF9900AA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], 0xFF9900AA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], 0xFF9900AA);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], 0xFF9900AA);
- // TextDrawColor(ServerPoruke[19], 0xFF9900AA);
- // TextDrawColor(ServerPoruke[20], 0xFF9900AA);
- // TextDrawColor(ServerPoruke[21], 0xFF9900AA);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u narandzastu.");
- }
- else if(!strcmp(bojatd, "crvena"))
- {
- //TextDrawColor(ServerPoruke[0], -2147483393);
- TextDrawColor(ServerPoruke[1], -2147483393);
- TextDrawColor(ServerPoruke[2], -2147483393);
- TextDrawColor(ServerPoruke[3], -2147483393);
- TextDrawColor(ServerPoruke[4], -2147483393);
- TextDrawColor(ServerPoruke[6], -2147483393);
- TextDrawColor(ServerPoruke[8], -2147483393);
- TextDrawColor(ServerPoruke[10], -2147483393);
- PlayerTextDrawColor(playerid,InfoTD[playerid][0], -2147483393);
- PlayerTextDrawColor(playerid,InfoTD[playerid][1], -2147483393);
- PlayerTextDrawColor(playerid,InfoTD[playerid][6], -2147483393);
- PlayerTextDrawColor(playerid,InfoTD[playerid][7], -2147483393);
- PlayerTextDrawColor(playerid,InfoTD[playerid][8], -2147483393);
- // TextDrawColor(ServerPoruke[19], 0x0077C7FF);
- //TextDrawColor(ServerPoruke[20], 0x0077C7FF);
- //TextDrawColor(ServerPoruke[21], 0x0077C7FF);
- //TextDrawShowForPlayer(playerid,ServerPoruke[0]);
- TextDrawShowForPlayer(playerid,ServerPoruke[1]);
- TextDrawShowForPlayer(playerid,ServerPoruke[2]);
- TextDrawShowForPlayer(playerid,ServerPoruke[3]);
- TextDrawShowForPlayer(playerid,ServerPoruke[4]);
- TextDrawShowForPlayer(playerid,ServerPoruke[6]);
- TextDrawShowForPlayer(playerid,ServerPoruke[8]);
- TextDrawShowForPlayer(playerid,ServerPoruke[10]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][0]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][1]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][6]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][7]);
- PlayerTextDrawShow(playerid,InfoTD[playerid][8]);
- SCM(playerid, -1, "Promenili ste boju tdova u crvenu.");
- }
- // SCM(playerid,-1,"{0077C7}|| DEEP ||:{FFFFFF} Uspesno ste promenili boju tdova.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement