[Include] Static Dialogs - BigETI
#7

First of all I just made this include in a few minutes and second with this you can just show dialogs which you don't have to copy/paste all the time

Example:
Without this include:
pawn Код:
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "My Dialog", "This is a dialog.\nAll the stuff have to be shown without any changes", "OK", "");
//..Somewhere in your script
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "My Dialog", "This is a dialog.\nAll the stuff have to be shown without any changes", "OK", "");
//..Somewhere in your script
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "My Dialog", "This is a dialog.\nAll the stuff have to be shown without any changes", "OK", "");
With this include:
pawn Код:
//For example OnGameModeInit
SetStaticDialog(0, DIALOG_STYLE_MSGBOX, "My Dialog", "This is a dialog.\nAll the stuff have to be shown without any changes", "OK", "");
//Somewhere in your script
ShowPlayerStaticDialog(playerid, 0);
//Again somewhere in your script
ShowPlayerStaticDialog(playerid, 0);
//Again somewhere in your script
ShowPlayerStaticDialog(playerid, 0);
And if you like to show a modified message just use ShowPlayerDialog or for the public just change the dialog informations with SetStaticDialog
Reply


Messages In This Thread
Static Dialogs - BigETI - by BigETI - 24.10.2011, 16:32
Re: Static Dialogs - BigETI - by Biesmen - 24.10.2011, 16:34
Re: Static Dialogs - BigETI - by IstuntmanI - 24.10.2011, 16:35
Re: Static Dialogs - BigETI - by BigETI - 24.10.2011, 16:44
Re: Static Dialogs - BigETI - by FireCat - 24.10.2011, 16:47
Re: Static Dialogs - BigETI - by |_ⒾⓇⓄN_ⒹⓄG_| - 24.10.2011, 16:48
Re: Static Dialogs - BigETI - by BigETI - 24.10.2011, 17:04
Re: Static Dialogs - BigETI - by KoczkaHUN - 24.10.2011, 18:15
Re: Static Dialogs - BigETI - by Ballu Miaa - 06.03.2012, 03:30

Forum Jump:


Users browsing this thread: 1 Guest(s)