Samp Login Bug
#3

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
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;
}
About the last part?
is it means ill have to rewrite all cmds to this code?

Is there a simple way to block whole chat if he is LoggedIn[PlayerID] == 0

Cuz i dont got the last part thing.
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: 3 Guest(s)