ShowPlayerDialog too long
#9

I don't know what's wrong... Before all worked perfectly, 0 problems.

But here's all what did I do about this:

On top:
Code:
new AnimationsDialog [1024];
Command:
Code:
dcmd_animlist(playerid,params[])
{
 	#pragma unused params
 	ShowPlayerDialog(playerid, MENU+2, DIALOG_STYLE_MSGBOX,"{0000FF}List of animations",AnimationsDialog, "Close", "");
	return 1;
}
OnPlayerCommandText:
Code:
dcmd(animlist,8,cmdtext);
OnGameModeInit:

Code:
DialogText();
Under all stocks:

Code:
DialogText()
{
    AnimationsDialog = "/serve - /lay - /rollfall - /bomb - /basket\n";
    strcat(AnimationsDialog, "/camera - /feelbad - /waterjump - /eat\n");
    strcat(AnimationsDialog, "/vomit - /flowers - /monkey - /knife\n");
    strcat(AnimationsDialog, "/wave - /kiss - /spraycan - /chant - /shout\n");
    strcat(AnimationsDialog, "/sword - /skate - /wuzi - /dealstance\n");
    strcat(AnimationsDialog, "/drink - /dance - /slap - /sex - /smoke\n");
    strcat(AnimationsDialog, "/sad - /security - /lookout - /yeah - /talk\n");
    strcat(AnimationsDialog, "/facepalm - /sup - /no - /yes - /bye - /kick\n");
    strcat(AnimationsDialog, "/fall - /lifejump - /fu - /omg - /handsup\n");
    strcat(AnimationsDialog, "/taxi - /walk - /die - /drunk - /woman");
    return 1;
)
PS: Changing names like from LongDialog to AnimationsDialog shouldn't make errors
Reply


Messages In This Thread
ShowPlayerDialog too long - by Libra_PL - 03.02.2011, 08:03
Re: ShowPlayerDialog too long - by HyperZ - 03.02.2011, 08:11
Re: ShowPlayerDialog too long - by JamesC - 03.02.2011, 08:17
Re: ShowPlayerDialog too long - by Libra_PL - 03.02.2011, 08:26
Re: ShowPlayerDialog too long - by Libra_PL - 03.02.2011, 10:54
Re: ShowPlayerDialog too long - by Zh3r0 - 03.02.2011, 10:56
Re: ShowPlayerDialog too long - by Libra_PL - 03.02.2011, 12:48
Re: ShowPlayerDialog too long - by wups - 03.02.2011, 12:52
Re: ShowPlayerDialog too long - by Libra_PL - 03.02.2011, 13:04

Forum Jump:


Users browsing this thread: 2 Guest(s)