How To fix This
#1

Can anyBody Tell Me How to fix This Problems



Dialog Response
Код:
 if(dialogid == DIALOG_RULES) (28995)
    {
        if(response) (28997)
        {
            SendClientMessage(playerid, COLOR_GREEN, "Thank you for agreeing to the server rules!");
        }
       else (29001)
        {
			format(string,sizeof(string),"{00FF40}%s {FAF623}has been kicked by Server {FAF623}[reason: Disagree Rules] ",playername); SendClieSendClientMessageToAll(COLOR_RED,string);
            SendClientMessage(Playerid, COLOR_RED, "You've Been Kicked By server Because Of disagreeing Rules ");
            Kick(playerid); (29005)
            
        } (29007)
        return 1; (29008)
    }

    return 0; (29011) 
}
The CMD:
Код:
CMD:rules(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_RULES, DIALOG_STYLE_MSGBOX, "Server Rules", "- No Cheating\n- No Spamming\n- Respect Admins\n\nDo you agree to these rules?", "Yes", "No");
}
Reply


Messages In This Thread
How To fix This - by RamzyR - 23.07.2016, 08:49
Re: How To fix This ..! - by VVWVV - 23.07.2016, 08:52
Re: How To fix This ..! - by RamzyR - 23.07.2016, 08:53
Re: How To fix This ..! - by SyS - 23.07.2016, 09:01
Re: How To fix This ..! - by RamzyR - 23.07.2016, 09:06
Re: How To fix This - by SyS - 23.07.2016, 09:18
Re: How To fix This - by RamzyR - 23.07.2016, 09:24

Forum Jump:


Users browsing this thread: 2 Guest(s)