04.01.2015, 21:56
Hey guys,
I'm currently working on a dynamic faction system and I want to know if is there any way I can check if a color is already used by an existing faction or not. If it's not used I want it to appear on my dialog where you can select the color for the faction.
To be more specific this is the code for my dialog
Is there any way I can check if another faction uses for example the Orange color and remove it from the list?
I'm currently working on a dynamic faction system and I want to know if is there any way I can check if a color is already used by an existing faction or not. If it's not used I want it to appear on my dialog where you can select the color for the faction.
To be more specific this is the code for my dialog
Код:
ShowPlayerDialog(playerid, dfcolor, DIALOG_STYLE_LIST, "Choose faction color", "Black\nWhite\nOrange\nRed\nBlue\nViolet\nGreen\nYellow\nPink\nSeablue\nBrown", "Choose", "Back");