Dialog help
#1

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
Reply
#2

Show the code
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)