Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( dialogid == DIALOG_BOJATD ) //""CRVENA"Crvena\n"ZUTA"Zuta\n"ZELENA"Zelena\n"LJUB"Ljubicasta\n"COLOR_PINK"Roze\n"col_m"Default"
- {
- if(!response) return SendClientMessage(playerid, -1, "Odustao si od menjanja boje tdova !");
- switch(listitem)
- {
- case 0:
- {
- TextDrawColor(TDEditor_TD[0], 0xAA3333AA);
- TextDrawColor(TDEditor_TD[24], 0xAA3333AA);
- TextDrawColor(TDEditor_TD[25], 0xAA3333AA);
- TextDrawColor(TDEditor_TD[26], 0xAA3333AA);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u crvenu!");
- }
- case 1:
- {
- TextDrawColor(TDEditor_TD[0], 0x33AA33AA);
- TextDrawColor(TDEditor_TD[24], 0x33AA33AA);
- TextDrawColor(TDEditor_TD[25], 0x33AA33AA);
- TextDrawColor(TDEditor_TD[26], 0x33AA33AA);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u zutu!");
- }
- case 2:
- {
- TextDrawColor(TDEditor_TD[0], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[24], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[25], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[26], 0xC2A2DAAA);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, -1, "[BOJA TD SYSTEM]: Promenio si boju tdova u zelenu !");
- }
- case 3:
- {
- TextDrawColor(TDEditor_TD[0], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[24], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[25], 0xC2A2DAAA);
- TextDrawColor(TDEditor_TD[26], 0x33AA33AA);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u ljubicastu!");
- }
- case 4:
- {
- TextDrawColor(TDEditor_TD[0], 0xFFC0CBAA);
- TextDrawColor(TDEditor_TD[24], 0xFFC0CBAA);
- TextDrawColor(TDEditor_TD[25], 0xFFC0CBAA);
- TextDrawColor(TDEditor_TD[26], 0xFFC0CBAA);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u roze!");
- }
- case 5:
- {
- TextDrawColor(TDEditor_TD[0], 4562687);
- TextDrawColor(TDEditor_TD[24], 4562687);
- TextDrawColor(TDEditor_TD[25], 4562687);
- TextDrawColor(TDEditor_TD[26], 4562687);
- for(new i = 0; i < 46; i ++) {
- TextDrawShowForPlayer(playerid, TDEditor_TD[0]);
- }
- SendClientMessage(playerid, ZELENA, "[BOJA TD SYSTEM]: Promenio si boju tdova u default!");
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment