ShowPlayerDialog Bug
#5

Change
Quote:

ShowPlayerDialog(playerid, DIALOG_HELPERS, DIALOG_STYLE_LIST,"Server: Factions", szMessage, "Select", "Cancel");
SelFaction[playerid] = 0;

And At Dialog Response
PHP код:
        if(dialogid == DIALOG_HELPERS)
        {
            if(
response)
            {
                if(
listitem >= 1)
                {
                    new 
item listitem;
                    
format(playerVariables[playerid][pSelected], MAX_PLAYER_NAME"%s",Selected[item][snume]);
                    
ShowPlayerDialog(playeridDIALOG_HELPERS2DIALOG_STYLE_LIST"Select an action""Uninvite\nChangerank\nFwarn""Go""Cancel");
                }
                else
                {
                    
SendClientMessage(playeridCOLOR_GREY"You can't click on this item.");
                }
            }
        } 
Reply


Messages In This Thread
ShowPlayerDialog Bug - by danielpalade - 23.02.2016, 23:22
Re: ShowPlayerDialog Bug - by Jefff - 24.02.2016, 00:16
Re: ShowPlayerDialog Bug - by danielpalade - 24.02.2016, 01:38
Re: ShowPlayerDialog Bug - by RoboN1X - 24.02.2016, 04:24
Re: ShowPlayerDialog Bug - by Amunra - 24.02.2016, 06:19

Forum Jump:


Users browsing this thread: 1 Guest(s)