Easy to fix
#2

For the first one, i don't think you need to return 1 twice.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
      if(dialogid == drules)
      {
        if(!response) return Kick(playerid);
      }
   }
  return 1;
}
And i guess you meant the second to be this:
pawn Код:
CMD:rules(playerid,params[])
{
  ShowPlayerDialog(playerid, 2345, DIALOG_STYLE_MSGBOX, "Rules of the server", "No racism\nNo car parking/ramming on players\nNo hacking\nInsulting is not allowed\nBe nice\nRespect admins\nNEVER abuse bugs if you found one report on forums\nFor all the rules visit our forums. /site", "Agree", "I don't agree");
  return 1;
}
Reply


Messages In This Thread
Easy to fix - by Glossy42O - 15.01.2015, 07:43
Re: Easy to fix - by CalvinC - 15.01.2015, 07:56
Re: Easy to fix - by Glossy42O - 15.01.2015, 08:08
Re: Easy to fix - by HY - 15.01.2015, 08:11

Forum Jump:


Users browsing this thread: 1 Guest(s)