help| not working
#1

no error + no work


in game no metter if i putt correct password or uncorrect its give me kick



PHP код:
        if(dialogid == logind)
        {
            if(!
response)
            {
                
ShowPlayerDialog(playeridlogindDIALOG_STYLE_INPUT"Login""You Muyst Enter Password To Login \nPlease Enter Pass""Login""Leave");
                return 
1;
                }
                if(
strlen(inputtext) > 15 || strlen(inputtext) < 5)
            {
                
SCM(playeridCOLOR_RED"ERROR: Lenght Must Be 5-25");
                
ShowPlayerDialog(playeridlogindDIALOG_STYLE_INPUT"Login""You Muyst Enter Password To Login \nPlease Enter Pass""Login""Leave");
                return 
1;
                }
                new 
tmp;
                
tmp dini_Int(file"Password");
            if(
strcmp(inputtext) != tmp)
            {
                
SCM(playeridCOLOR_RED"ERROR: Wrong Password!! bye");
                
Kick(playerid);
                
logged[playerid] = 0;
                }
            else
            {
                
logged[playerid] = 1;
                
SCM(playeridCOLOR_YELLOW" You Seccessfull logged");
                return 
1;
            }
            } 
Reply


Messages In This Thread
help| not working - by Armada - 21.06.2011, 13:24
Re: help| not working - by PCheriyan007 - 21.06.2011, 13:46
Re: help| not working - by Armada - 21.06.2011, 16:40
Re: help| not working - by Armada - 22.06.2011, 10:20
Re: help| not working - by Jeffry - 22.06.2011, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)