Problem with a command
#3

Quote:
Originally Posted by funky1234
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

{ //Why is this here? - Remove it.
   if(strcmp(cmdtext,"/info",true)==0)
   {
      ShowPlayerDialog(playerid, Gameinfodialogue, DIALOG_STYLE_MSGBOX, "Information about the gamemode", "My text", "Next", "Close");
      return 1;
   }
} //Why is this here? - Remove it.


return 0;


}
It may be worth looking into dcmd or other methods by the way.
The extra { and } don't matter tbh
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)