Help with rules
#1

I've wanted to do a command to show a dialog and show the rules but thing is im having some errors and I would like it like the picture, can someone help me in these errors and maybe i can add more words cause it think it has a limit:

my code:


pawn Код:
#include <a_samp>

#define DIALOG_RULES 10
#define DIALOG_HELP 11
#define DIALOG_WWW 12


public OnPlayerCommandText(playerid, cmdtext[])
{
   if(strcmp(cmdtext, "/rules",true) ==0)
   {
        ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "$^NFG Rules^$", ">>> | Rules | <<<\n-No cheating/mods that gives you more power such as parkour\n-No Bug abusing (includes C-Bug )\n-No insulting other players.Racism and other vulgar remarks will not be tolerated\n-No deathmatching, also includes you cannot revange kill\n-You cannot use the [esc] button to avoid death\n-You cannot bunnyhop using the bike, due to the amount of advantages\n-You cannot scam NFG Points and the limit to scam in-game money is 10000\n-Take a look at /shelp and /pc - For more info about the rules check forums.", "OK", "");
        return 1;
   }
   return 0;
}
Errors:

pawn Код:
\rules.pwn(11) : error 075: input line too long (after substitutions)
\rules.pwn(12) : error 037: invalid string (possibly non-terminated string)
\rules.pwn(12) : error 017: undefined symbol "Rules"
\rules.pwn(12) : error 017: undefined symbol "n"
\rules.pwn(12) : fatal error 107: too many error messages on one line

Picture, i want it maybe as this for an example:
Reply


Messages In This Thread
Help with rules - by 123bob123 - 23.07.2014, 08:30
Re: Help with rules - by codectile - 23.07.2014, 08:35
Re: Help with rules - by 123bob123 - 23.07.2014, 08:58
Re: Help with rules - by KayJ - 23.07.2014, 09:20
Re: Help with rules - by Konstantinos - 23.07.2014, 09:28
Re: Help with rules - by 123bob123 - 23.07.2014, 09:28
Re: Help with rules - by KayJ - 23.07.2014, 09:30
Re: Help with rules - by 123bob123 - 23.07.2014, 09:33
Re: Help with rules - by KayJ - 23.07.2014, 09:34
Re: Help with rules - by KayJ - 23.07.2014, 09:36

Forum Jump:


Users browsing this thread: 3 Guest(s)