[FilterScript] Ingame Colour Changer v.1
#1

DELETE THIS TOPIC PLEASE , Thanks admin
Reply
#2

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

Thanks Broo xD
Reply
#4

Nice and good for all kinds of servers execpt RP
Reply
#5

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.
Reply
#6

Quote:
Originally Posted by Vegas.
Посмотреть сообщение
Nice and good for all kinds of servers execpt RP
Thanks
Reply
#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
#8

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

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)