Samp Login Bug
#2

OnTop
pawn Код:
LoggedIn[MAX_PLAYERS];
OnPlayerConnect
pawn Код:
LoggedIn[playerid] = 0;
And when players login
pawn Код:
LoggedIn[playerid] = 1;
And when typing cmds check
pawn Код:
if(LoggedIn[playerid] == 0) return SendClientMessage(playerid, -1, "You are not loggedin");
else if(LoggedIn[playerid] == 1)
{
    //Your cmd code
    return 1;
}
Reply


Messages In This Thread
Samp Login Bug - by DarknessKnight - 09.10.2014, 13:30
Re: Samp Login Bug - by Rudy_ - 09.10.2014, 13:34
Re: Samp Login Bug - by DarknessKnight - 09.10.2014, 13:41
Re: Samp Login Bug - by DowntownGangster - 09.10.2014, 13:43
Re: Samp Login Bug - by Rudy_ - 09.10.2014, 13:44
Re: Samp Login Bug - by DowntownGangster - 09.10.2014, 13:45
Re: Samp Login Bug - by DarknessKnight - 09.10.2014, 14:43
Re: Samp Login Bug - by DarknessKnight - 09.10.2014, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)