Server crashes because of dialogs
#2

Try This:

pawn Code:
case 7:
        {
                  format(string, sizeof(string), "* %s types in a number and brings their phone to their ear", GetName(playerid));
                  NearByMessage(playerid, 12.0, PURPLE, string);
                  ShowPlayerDialog(playerid, 8, DIALOG_STYLE_INPUT, "Phone", "Type in the number you wish to call:", "Call", "Cancel");
              }else{
                  format(string, sizeof(string), "* %s types in a number on their cellphone", GetName(playerid));
                  NearByMessage(playerid, 12.0, PURPLE, string);
                  ShowPlayerDialog(playerid, 9, DIALOG_STYLE_INPUT, "Phone", "Type in the number you wish to SMS:", "Proceed", "Cancel");
              }
        }
return 1;
}
Reply


Messages In This Thread
Server crashes because of dialogs - by Kyle_Olsen - 06.08.2011, 21:13
Re: Server crashes because of dialogs - by 0_o - 06.08.2011, 21:15
Re: Server crashes because of dialogs - by Kyle_Olsen - 06.08.2011, 21:22
Re: Server crashes because of dialogs - by 0_o - 06.08.2011, 21:26
Re: Server crashes because of dialogs - by Kyle_Olsen - 06.08.2011, 21:29
Re: Server crashes because of dialogs - by =WoR=Varth - 06.08.2011, 21:33
Re: Server crashes because of dialogs - by 0_o - 06.08.2011, 21:36
Re: Server crashes because of dialogs - by Kyle_Olsen - 06.08.2011, 21:42
Re: Server crashes because of dialogs - by 0_o - 06.08.2011, 21:43
Re: Server crashes because of dialogs - by Kyle_Olsen - 06.08.2011, 21:44

Forum Jump:


Users browsing this thread: 3 Guest(s)