samedi 23 juillet 2016

How To fix This

Can anyBody Tell Me How to fix This Problems

Dialog Response

Code:

 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:

Code:

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");
}

Let's block ads! (Why?)



How To fix This

Aucun commentaire:

Enregistrer un commentaire