SA-MP Forums Archive
[FilterScript] Ingame Colour Changer v.1 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Ingame Colour Changer v.1 (/showthread.php?tid=326254)



Ingame Colour Changer v.2 [ FINAL 16/8/2012 ] - Ash-fixedname - 16.03.2012

DELETE THIS TOPIC PLEASE , Thanks admin


Re: Ingame Colour Changer v.1 - Quinlynn - 16.03.2012

Very Simple, but good. My server is a RP serve, and we use a legend.


Re: Ingame Colour Changer v.1 - Ash-fixedname - 16.03.2012

Thanks Broo xD


Re: Ingame Colour Changer v.1 - Vegas. - 16.03.2012

Nice and good for all kinds of servers execpt RP


Re: Ingame Colour Changer v.1 - Kitten - 16.03.2012

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.


Re: Ingame Colour Changer v.1 - Ash-fixedname - 17.03.2012

Quote:
Originally Posted by Vegas.
Посмотреть сообщение
Nice and good for all kinds of servers execpt RP
Thanks


Re: Ingame Colour Changer v.1 - Ash-fixedname - 17.03.2012

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


Re: Ingame Colour Changer v.1 - Memoryz - 17.03.2012

Good job Ash! I'm looking forward v2 of ingame colour changer.


Re: Ingame Colour Changer v.1 - Ash-fixedname - 17.03.2012

Quote:
Originally Posted by Memoryz
Посмотреть сообщение
Good job Ash! I'm looking forward v2 of ingame colour changer.
Thanks Broo Stay Tunee I'll Pm You When It's Done Coz Im Gonna Add 20+ Colours , Too Many Hardwork Needed With Finding Colour Codes , Anyway Keep In Touch xD


Re: Ingame Colour Changer v.1 - Reklez - 17.03.2012

dude next time add my favorite color

Код:
- Green
- Lightgreen
i will give you 10/10! if you do that, for now it will be 6/10. next time use in dialog and quit using caps lock

here is the code for Green and Lightgreen

pawn Код:
#define GREEN 0x008000FF
#define LIGHTGREEN 0x00FF00FF