if(strcmp(cmd, "/rules", true) == 0)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Do you accept our rules?","1 We want you to behave like in real life.\n2 Talk normally or you can get kicked/banned.\n3 Cheating or bug abusing results in a ban, also try /abusehelp\n4 Respect eachother and respect the admins, also try /abusehelp\n5 Spawnkilling and driveover kills aren't allowed.\n6 Use English or Dutch in any the mainchat.\n7 Advertising is allowed but if you're advertising a bad site it's a ban.\nFollow this rules and nothing will happen to you.","Accept","Decline");
return 1;
}
|
Originally Posted by WThieves
I personally think nothing's wrong but i think pawn overdrives and makes fake errors becouse in an fs it works
pawn Код:
|
this is 22467 if(strcmp(cmd, "/rules", true) == 0)
this is 22468 {
this is 22469 ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Do you accept our rules?","1 We want you to behave like in real life.\n2 Talk normally or you can get kicked/banned.\n3 Cheating or bug abusing results in a ban, also try /abusehelp\n4 Respect eachother and respect the admins, also try /abusehelp\n5 Spawnkilling and driveover kills aren't allowed.\n6 Use English or Dutch in any the mainchat.\n7 Advertising is allowed but if you're advertising a bad site it's a ban.\nFollow this rules and nothing will happen to you.","Accept","Decline");
return 1;
}
: error 075: input line too long (after substitutions)if(!strcmp(cmdtext, "/rules", true))
{
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Do you accept our rules?",
"\
1 We want you to behave like in real life.\n\
2 Talk normally or you can get kicked/banned.\n\
3 Cheating or bug abusing results in a ban, also try /abusehelp\n\
4 Respect eachother and respect the admins, also try /abusehelp\n\
5 Spawnkilling and driveover kills aren't allowed.\n\
6 Use English or Dutch in any the mainchat.\n\
7 Advertising is allowed but if you're advertising a bad site it's a ban.\n\
Follow this rules and nothing will happen to you.", "Accept", "Decline");
return 1;
}
|
Originally Posted by » RyDeR «
Use '\' when your strings getting large..
Код:
if(!strcmp(cmdtext, "/rules", true))
{
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Do you accept our rules?",
"\
1 We want you to behave like in real life.\n\
2 Talk normally or you can get kicked/banned.\n\
3 Cheating or bug abusing results in a ban, also try /abusehelp\n\
4 Respect eachother and respect the admins, also try /abusehelp\n\
5 Spawnkilling and driveover kills aren't allowed.\n\
6 Use English or Dutch in any the mainchat.\n\
7 Advertising is allowed but if you're advertising a bad site it's a ban.\n\
Follow this rules and nothing will happen to you.", "Accept", "Decline");
return 1;
}
(Learn to indentitate your codes) |
thanks man you're a lifesaver!