String too long make server crash?
#1

Hey all!

I want to ask, how can I make a dialog which has very very long string?
Here its my code:
Код:
    new String[1024];
    new PlayerName[32];

	GetPlayerName(playerid,PlayerName,sizeof(PlayerName));

	format(String,sizeof(String),"Hello, %s!\n\nWelcome on CrazyStunts! CrazyStunts is a stunt server, so there isn't any random shooting.\n",
	"Here you will see few rules of our server.\n\t1. No spam and no swearing,\n\t2. No hacks and cheats,\n\t3. Obey our admins\n\nIf you",
	" don't respect this rules, you can be kicked, temporarily jailed or banned.\nIf you agree with server rules click Play, otherwise click",
	" Quit. There are also few commands:\n\t/cmds - Commands\n\t/teles - Teleports\n\t/rules - Server Rules\n\t/help - Server Help\nThank you",
	" for your attention! Have fun.",PlayerName);

	ShowPlayerDialog(playerid,DIALOG_WELCOME_MESSAGE,DIALOG_STYLE_MSGBOX,"CrazyStunts [0.3a]",String,"Play","Quit");
Reply


Messages In This Thread
String too long make server crash? - by MummyKillerSLO - 05.02.2010, 16:51
Re: String too long make server crash? - by Fedee! - 05.02.2010, 16:55
Re: String too long make server crash? - by MummyKillerSLO - 05.02.2010, 16:57
Re: String too long make server crash? - by wafffllesss - 05.02.2010, 17:08

Forum Jump:


Users browsing this thread: 1 Guest(s)