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