15.08.2012, 21:08
Your english is kind of oddly formed, so I'm going to take a stab and say you want something like..
Instead of having to type out the entire message every time, you just want it so you can define the dialog and then show it that way? If this is what you want, then try something like this..
Of course, you will have to edit your gamemode / filterscript (whichever) to work with this, and every time you wish to show the dialog, just do..
and it will show the dialog you defined above.
Instead of having to type out the entire message every time, you just want it so you can define the dialog and then show it that way? If this is what you want, then try something like this..
pawn Code:
#define SHOWDIALOG_REGISTER ShowPlayerDialog( playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "This account does not exist!", "Please enter a password below:", "OK", "" )
pawn Code:
CMD:test( playerid, params[] )
{
SHOWDIALOG_REGISTER;
return true;
}