[FilterScript] Ingame Colour Changer v.1
#7

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Useless

a better way is,

pawn Код:
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");
instead of making bunch of commands for colors.

nice job though.
Ahhh Buddy You're Too Latee In v.2 Im Gonna Make Like This And Already Started
Reply


Messages In This Thread
Ingame Colour Changer v.2 [ FINAL 16/8/2012 ] - by Ash-fixedname - 16.03.2012, 21:17
Re: Ingame Colour Changer v.1 - by Quinlynn - 16.03.2012, 21:22
Re: Ingame Colour Changer v.1 - by Ash-fixedname - 16.03.2012, 21:28
Re: Ingame Colour Changer v.1 - by Vegas. - 16.03.2012, 23:07
Re: Ingame Colour Changer v.1 - by Kitten - 16.03.2012, 23:12
Re: Ingame Colour Changer v.1 - by Ash-fixedname - 17.03.2012, 00:58
Re: Ingame Colour Changer v.1 - by Ash-fixedname - 17.03.2012, 01:03
Re: Ingame Colour Changer v.1 - by Memoryz - 17.03.2012, 01:24
Re: Ingame Colour Changer v.1 - by Ash-fixedname - 17.03.2012, 01:41
Re: Ingame Colour Changer v.1 - by Reklez - 17.03.2012, 01:54

Forum Jump:


Users browsing this thread: 1 Guest(s)