02.09.2012, 06:30
A small tuto here.
you will need
Then..
NOTE: The text in it is random :3
you will need
pawn Код:
#include <a_samp> // on top of your script
pawn Код:
#define DIALOG_WHATEVER 1
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;
}