First Spawn
#6

pawn Код:
new PlayerLogged[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    PlayerLogged[playerid] = 0;
    return 1;
}

public OnPlayerLogin(playerid, password[]) // this is what ever you login function is.
{
    if(IsPlayerConnected(playerid) && PlayerLogged[playerid] == 0)
    {
        //Rest of your command herre....
    }
    return 1;
}
Reply


Messages In This Thread
First Spawn - by Daren_Jacobson - 20.02.2010, 15:38
Re: First Spawn - by VonLeeuwen - 20.02.2010, 15:43
Re: First Spawn - by Daren_Jacobson - 20.02.2010, 15:47
Re: First Spawn - by VonLeeuwen - 20.02.2010, 15:48
Re: First Spawn - by Miguel - 20.02.2010, 15:53
Re: First Spawn - by DiMeNsIoN© - 20.02.2010, 15:56
Re: First Spawn - by HB - 20.02.2010, 16:00
Re: First Spawn - by Daren_Jacobson - 20.02.2010, 16:12
Re: First Spawn - by Daren_Jacobson - 22.02.2010, 00:38

Forum Jump:


Users browsing this thread: 1 Guest(s)