Dialog line too long?
#4

Quote:
Originally Posted by HyperZ
View Post
pawn Code:
CMD:rules(playerid, params[])
{
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules",
        "1. No insulting or disrespecting other players\n\
        2. No spamming anything in any way\n\
        3. No ramming or blocking other players\n\
        4. No farming anything in anyway.\n\
        5. Do not say any jokes that may have a negative affect on others.\n\
        6. No advertising allowed in all chats\n\
        7. No mods that benefit anything and anyone are allowed\n\
        8. No cheats, including hacks of any kind, are allowed.\n\
        For any explanation on all these rules please visit our website\n\
        www.websitegoeshere.com"
, "Agree", "");
        return 1;
}
Thanks for showing me how to break it into multiple lines, ive been wondering how to do that.
But, the line is still too long, according to the compiler, it gave me an error :\
Thanks anyways for your help

Quote:
Originally Posted by TheLazySloth
View Post
Code:
CMD:rules(playerid, params[])
{
	new
		string[500];
	format(string, sizeof(string), "1. No insulting or disrespecting other players\n2. No spamming anything in any way\n3. No ramming or b");
	format(string, sizeof(string), "%slocking other players\n4. No farming anything in anyway.\n5. Do not say any jokes that may have a n", string);
	format(string, sizeof(string), "%segative affect on others.\n6. No advertising allowed in all chats\n7. No mods that benefit anything", string);
	format(string, sizeof(string), "%s and anyone are allowed\n8. No cheats, including hacks of any kind, are allowed.\nFor any explanati", string);
	format(string, sizeof(string), "%son on all these rules please visit our website\nwww.websitegoeshere.com", string);
	ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules", string, "Agree", "");
	return 1;
}
Ah! I see, it compiled. Thanks for your help I wish I could give rep but mine doesn't count :\
Reply


Messages In This Thread
Dialog line too long? - by nitrochegs - 16.10.2011, 10:07
Re: Dialog line too long? - by HyperZ - 16.10.2011, 10:11
Re: Dialog line too long? - by TheLazySloth - 16.10.2011, 10:14
Re: Dialog line too long? - by nitrochegs - 16.10.2011, 10:24
Re: Dialog line too long? - by TheLazySloth - 16.10.2011, 10:41

Forum Jump:


Users browsing this thread: 2 Guest(s)