[AJUDA] OnDialogResponse
#3

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 2424)
    {
        if(response)
        {
            if(listitem == 0){
                SetPlayerColor(playerid, 0x0000BBAA);
            }
            if(listitem == 1){
                SetPlayerColor(playerid, 0xAA3333AA);
            }
            if(listitem == 2) {
                SetPlayerColor(playerid, 0x33AA33AA);
            }
            if(listitem == 3) {
                SetPlayerColor(playerid, 0xF0F8FFAA);
            }
            if(listitem == 4) {
                SetPlayerColor(playerid, 0xFFC0CBAA);
            }
            if(listitem == 5) {
                SetPlayerColor(playerid, 0xFFFF00AA);
            }
            if(listitem == 6) {
                SetPlayerColor(playerid, 0xA52A2AAA);
            }
            if(listitem == 7) {
                SetPlayerColor(playerid, 0xFF9900AA);
            }
            if(listitem == 8) {
                SetPlayerColor(playerid, 0x9900FFAA);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] OnDialogResponse - by Oakley_TwOPaCk - 24.05.2012, 21:00
Re : [AJUDA] OnDialogResponse - by Luciano* - 24.05.2012, 21:02
Re: [AJUDA] OnDialogResponse - by Abravanel - 24.05.2012, 21:16
Re: [AJUDA] OnDialogResponse - by paulor - 24.05.2012, 21:55
Re : [AJUDA] OnDialogResponse - by Luciano* - 25.05.2012, 14:30
Re: [AJUDA] OnDialogResponse - by Lуs - 25.05.2012, 14:41
Re: [AJUDA] OnDialogResponse - by Jake_Dunlapp - 25.05.2012, 15:10
Re: [AJUDA] OnDialogResponse - by LukisHard - 28.05.2012, 06:32
Re: [AJUDA] OnDialogResponse - by paulor - 28.05.2012, 16:18

Forum Jump:


Users browsing this thread: 3 Guest(s)