Password
#5

Rudy, it doesn't work.

PHP код:
        if(fexist(string))
        {
            new 
File:LogFile fopen(stringio_read);
            if(!
LogFileprintf("error: %s (io_read)"string);
            
fread(LogFiledatasizeof(data));
            if(!
strcmp(datacmdtext[5], true)) return SendClientMessage(playerid, -1"{FFFFFF}SERVER: The password is not correct.");
            else
            {
                
SetPVarString(playerid"password"cmdtext[5]);
                
SendClientMessage(playerid, -1"{FFFFFF}SERVER: You have been successfully logged in.");
                
Log[playerid] = true;
            }
            
fclose(LogFile);
        } 
This is the login. The register system works.
Reply


Messages In This Thread
Password - by Norhy - 18.10.2014, 13:00
AW: Password - by Nero_3D - 18.10.2014, 13:11
Re: Password - by Abagail - 18.10.2014, 13:18
Re: Password - by Rudy_ - 18.10.2014, 13:20
Re: Password - by Norhy - 18.10.2014, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)