Dialog Rules
#4

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
when u want the dialog show? in on player connect?


pawn Код:
ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,"Rules","1.Cheating and hacking - Permban\n2.Write on the forum if you want help!\nhttp://freeroam-samp.ucoz.com/forum\n3.Race on LS only\n4.Respect The Administrators and the moderators!\n5.Report asap if you see glitch/bug/cheaters/hackers!","Agree","Deny");
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 100)
    {
        if(response)
        {
            SendClientMessageToAll(COLOR_YELLOW,"thx for accept rules");
        }
        else if(response == 0)
        {
            SendClientMessageToAll(COLOR_YELLOW,"you have not accept the rules kick");
            Kick(playerid);
        }
    }
    return 1;
}
Could somebody please tell me where exactly do I place the 2nd part? I know its in my gamemode but where exactly?
Reply


Messages In This Thread
Dialog Rules - by jonnyboy - 29.10.2010, 18:37
Re: Dialog Rules - by iJumbo - 29.10.2010, 18:57
Re: Dialog Rules - by jonnyboy - 30.10.2010, 08:00
Re: Dialog Rules - by Incog_Nito - 14.04.2012, 15:23
Re: Dialog Rules - by Jonny5 - 14.04.2012, 15:26
Re: Dialog Rules - by Incog_Nito - 14.04.2012, 15:29
Re: Dialog Rules - by Jonny5 - 14.04.2012, 15:31
Re: Dialog Rules - by Incog_Nito - 14.04.2012, 15:39
Re: Dialog Rules - by Incog_Nito - 14.04.2012, 16:35
Re: Dialog Rules - by GeneraalxArmy - 20.05.2014, 06:43

Forum Jump:


Users browsing this thread: 1 Guest(s)