20.02.2010, 15:56
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;
}