16.03.2012, 21:17
(
Последний раз редактировалось Ash-fixedname; 16.08.2012 в 15:47.
Причина: UPDATE !
)
DELETE THIS TOPIC PLEASE , Thanks admin
if(dialogid == 1)
{
switch(listitem)
{
// Red
case 0: SetPlayerColor(playerid, 0xFF0000FF);
// Green
case 1: SetPlayerColor(playerid, 0x00FF00FF);
// blue
case 2: SetPlayerColor(playerid, 0x0000FFFF);
// White
case 3: SetPlayerColor(playerid, 0xFFFFFFFF);
// Black
case 4: SetPlayerColor(playerid, 0x000000C1);
// Aqua
case 5: SetPlayerColor(playerid, 0x00FFFFFF);
// Yellow
case 6: SetPlayerColor(playerid, 0xFFFF00FF);
// Pink
case 7: SetPlayerColor(playerid, 0xFF00FFFF);
}
}
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "......", "Red\nGreen\nBlue\nWhite\nBlack\nAqua\nYellow\nPink", "Select", "Cancel");
Useless
a better way is, pawn Код:
nice job though. |
- Green - Lightgreen
#define GREEN 0x008000FF
#define LIGHTGREEN 0x00FF00FF