Auto Kick Issue
#2

try to indent it correctly
pawn Код:
if(dialogid == 1111) // Terms and Roles
{
    if(response) //BUTTON 1
    {
        if(gPlayerAccount[playerid] == 1)
        {
            DisplayDialogForPlayer(playerid, 1);
            SendClientMessage(playerid, COLOR_YELLOW, "{248B10}Database: {FFFFFF}This player-file is loading, please login.");
        }
        else
        {
            DisplayDialogForPlayer(playerid, 2);
            SendClientMessage(playerid, COLOR_YELLOW, "{248B10}Database: {FFFFFF}We do not have an account by this name to be loaded, please register to proceed to our Tutorial.");
        }
    }
    else
    {
        SendClientMessage(playerid, 0xFF0000FF, "You rejected our Terms and Roles and have been kicked as a result.");
        Kick(playerid);
    }
}

if you hit the second button the youll be kicked
just indenting your code will make it more clear to you.
Reply


Messages In This Thread
Auto Kick Issue - by iFederal - 30.05.2012, 01:23
Re: Auto Kick Issue - by Jonny5 - 30.05.2012, 01:37
Re: Auto Kick Issue - by iFederal - 30.05.2012, 01:41
Re: Auto Kick Issue - by ReneG - 30.05.2012, 01:44
Re: Auto Kick Issue - by iFederal - 30.05.2012, 01:47
Re: Auto Kick Issue - by ReneG - 30.05.2012, 01:52
Re: Auto Kick Issue - by iFederal - 30.05.2012, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)