03.02.2011, 13:04
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:
Command:
OnPlayerCommandText:
OnGameModeInit:
Under all stocks:
PS: Changing names like from LongDialog to AnimationsDialog shouldn't make errors
But here's all what did I do about this:
On top:
Code:
new AnimationsDialog [1024];
Code:
dcmd_animlist(playerid,params[]) { #pragma unused params ShowPlayerDialog(playerid, MENU+2, DIALOG_STYLE_MSGBOX,"{0000FF}List of animations",AnimationsDialog, "Close", ""); return 1; }
Code:
dcmd(animlist,8,cmdtext);
Code:
DialogText();
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; )