Dialog is not showing up.
#1

Code from ondialogresponse:

PHP код:
           if(dialogid == 4)
        {
            if(
response)
            {
                new 
rstring[1912];
                
format(rstringsizeof(rstring), "%s\n\n\t\t\t\tBy clicking the \"I Agree\" button you agree with our rules and regulations.",ServerRules());
                
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"Server Rules Agreement (1/7)",rstring,"I Agree","I Disagree");
            }
            else
            {
                
SetTimerEx("DelayedKick"100false"i"playerid);
            }
            return 
1;
        }
         if(
dialogid == 5)
        {
            if(
response)
            {
                new 
FirstSet random(4);
                if(
FirstSet == 0)ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"1/5 A roleplaying game's main aim is to... (2/7)","...Earn money and level-up.\n...Assume the role of the character you're playing with.\n...Kill each others.","Select","Quit");
                else if(
FirstSet == 1)ShowPlayerDialog(playerid,7,DIALOG_STYLE_LIST,"1/5 What does IC stand for? (2/7)","Inner Characteristics.\nInside Class.\nIn Character.","Select","Quit");
                else if(
FirstSet == 2)ShowPlayerDialog(playerid,8,DIALOG_STYLE_LIST,"1/5 IC refers to the world of the... (2/7)","...Players, rather than the world of the characters.\n...Characters, rather than the world of the players.\n...Players and the world of the characters.","Select","Quit");
                else if(
FirstSet == 3)ShowPlayerDialog(playerid,9,DIALOG_STYLE_LIST,"1/5 What does OOC stand for? (2/7)","Out Of Character.\nOut Of Class\nOut Of Car.","Select","Quit");
            }
            else
            {
                
SetTimerEx("DelayedKick"100false"i"playerid);
            }
        } 
Code from OnPlayerConnect.
PHP код:
          format(stringsizeof(string),"Welcome to International Roleplay %s!\n\nThe registration process will be as following:\n\nStep 1: Agreement on server rules.\nStep 2: A roleplay test that consists of 5 random questions.\nStep 3: Password selection.\nStep 4: E-mail selection.\nStep 5: Gender selection.\nStep 6: Age selection.\nStep 7: Skin selection.\n\nThanks for playing!\n\nInternational Roleplay Team"GetName(playerid));
        
ShowPlayerDialog(playerid4,DIALOG_STYLE_MSGBOX,"International Roleplay",string,"Continue","Quit"); 

When I'd login into my server it does show the dialog.
But if I click "Continue", nothing happens.
If I click "Exit" it does kick me < this is supposed to be.
Reply


Messages In This Thread
Dialog is not showing up. - by faff - 07.10.2015, 20:36
Re: Dialog is not showing up. - by xClown - 07.10.2015, 21:25
Re: Dialog is not showing up. - by faff - 08.10.2015, 14:23
Re: Dialog is not showing up. - by faff - 08.10.2015, 15:05
Re: Dialog is not showing up. - by faff - 08.10.2015, 16:22
Re: Dialog is not showing up. - by IceBilizard - 08.10.2015, 16:50
Re: Dialog is not showing up. - by iggy1 - 08.10.2015, 17:53
Re: Dialog is not showing up. - by faff - 08.10.2015, 20:32
Re: Dialog is not showing up. - by Ahmad45123 - 08.10.2015, 20:39
Re: Dialog is not showing up. - by faff - 08.10.2015, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)