SA-MP Forums Archive
Dialog help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog help (/showthread.php?tid=244923)



Dialog help - Venice - 29.03.2011

how can i add kick ??

pawn Код:
if(strcmp("/rules", cmdtext, true, 10) == 0)
    {
    ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"{FF002B}Server Rules","Do Not Ask For Admin. We Will Come For You!\nDo Not Use Hacks/Cheats or Ban\nRespect The Admins\nDO NOT TEAM KILL!\nRespect Rules or KICK / BAN","Agree","Im Noob");
    return 1;
    }
for this "Im Noob" kick


Re: Dialog help - Ironboy - 29.03.2011

Show the code


Re: Dialog help - MyLife - 29.03.2011

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 0)
    {
        if(!response)
        {
            Kick(playerid);
        }
    }
    return 1;
}