How to mkae dialogs
#4

A small tuto here.

you will need
pawn Код:
#include <a_samp> // on top of your script
pawn Код:
#define DIALOG_WHATEVER 1
Then..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
   if(strcmp(cmdtext, "/whatever",true) ==0)
   {
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "$^SA-CNR^$ Rules", "_------ SA-CNR----_\n-No spamming\n-Don't evade death using filthy tricks\n-Don't ask for admin, we will ask you if we think you are good enough\n-Don't advertise here.\n-No Spamming at all, it will result in a kick/ban/mute.\n-Usage of anykind of mod/cheat is strictly prohibited, player found using such will be banned\n-Take a look at /shelp and /credits too.\n_----------------------------------_", "OK", "");
        return 1;
   }
NOTE: The text in it is random :3
Reply


Messages In This Thread
How to mkae dialogs - by NaBeeL[NxT] - 02.09.2012, 06:19
Re: How to mkae dialogs - by newbienoob - 02.09.2012, 06:22
Re: How to mkae dialogs - by NaBeeL[NxT] - 02.09.2012, 06:24
Re: How to mkae dialogs - by RanSEE - 02.09.2012, 06:30
Re: How to mkae dialogs - by JessicaG - 02.09.2012, 06:36
Re: How to mkae dialogs - by NaBeeL[NxT] - 02.09.2012, 08:12
Re: How to mkae dialogs - by kbalor - 02.09.2012, 09:37

Forum Jump:


Users browsing this thread: 5 Guest(s)