Small Login/Register Issue
#6

Quote:
Originally Posted by J@mEs
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    foreach (Player, i)
    {
        Itter_Random(Player, i)
        TogglePlayerSpectating(playerid, 1);
        PlayerSpectatePlayer(playerid, i);
        PlayerInfo[playerid][pSQLId] = INVALID_SQL_ID;
        FindPlayerSQL(playerid);
        if(PlayerInfo[playerid][pSQLId] > INVALID_SQL_ID)
        {
            gPlayerAccount[playerid] = 1;
            ShowLoginDialog(playerid);
        }
        else
        {
            gPlayerAccount[playerid] = 0;
            ShowRegDialog(playerid);
        }
    }
}
I tried this and it fails
In what does it exacly fail? gimme errors.
Reply


Messages In This Thread
Small Login/Register Issue - by jamesb93 - 06.12.2009, 11:24
Re: Small Login/Register Issue - by Correlli - 06.12.2009, 11:26
Re: Small Login/Register Issue - by jamesb93 - 06.12.2009, 11:31
Re: Small Login/Register Issue - by DeathOnaStick - 06.12.2009, 12:21
Re: Small Login/Register Issue - by jamesb93 - 06.12.2009, 13:14
Re: Small Login/Register Issue - by DeathOnaStick - 06.12.2009, 13:27
Re: Small Login/Register Issue - by jamesb93 - 06.12.2009, 13:30
Re: Small Login/Register Issue - by DeathOnaStick - 06.12.2009, 13:38
Re: Small Login/Register Issue - by jamesb93 - 06.12.2009, 13:42
Re: Small Login/Register Issue - by DJDhan - 06.12.2009, 13:49

Forum Jump:


Users browsing this thread: 2 Guest(s)