Problem with a command
#1

hi,
i wanted to make a command where a dialog pops up after entered /info.
No errors or sth but in game just nothing happens.
I hope u can help me.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

{
   if(strcmp(cmdtext,"/info",true)==0)
   {
      ShowPlayerDialog(playerid, Gameinfodialogue, DIALOG_STYLE_MSGBOX, "Information about the gamemode", "My text", "Next", "Close");
      return 1;
   }
}


return 0;


}
regards.
Reply


Messages In This Thread
Problem with a command - by BlackWolf120 - 27.11.2010, 17:50
Re: Problem with a command - by Ash. - 27.11.2010, 17:53
Re: Problem with a command - by BMUK - 27.11.2010, 18:04
Re: Problem with a command - by BlackWolf120 - 27.11.2010, 18:09
Re: Problem with a command - by WillyP - 27.11.2010, 18:10
Re: Problem with a command - by Jochemd - 27.11.2010, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)