Stopping every player getting something when they log in.
#4

No it doesn't work Here is the code if it helps:

OnPlayerConnect
EDIT:
pawn Код:
ResetPlayerVariables(playerid);
OnPlayerDisconnect
pawn Код:
ResetPlayerVariables(playerid);
pawn Код:
stock ResetPlayerVariables(playerid)
{
    IsLogged[playerid] = 0;
    PlayerInfo[playerid][Admin] = 0;
    PlayerInfo[playerid][Survivor] = 0;
    PlayerInfo[playerid][Zombie] = 0;
    PlayerInfo[playerid][Money] = 0;
    PlayerInfo[playerid][Death] = 0;
    PlayerInfo[playerid][Infected] = 0;
    PlayerInfo[playerid][New] = 0;
    PlayerInfo[playerid][Skin] = 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)