#1

I have a big problem. ID 24-25-26 is completly bugged. They don't have any access to anything. Player banned can join on the server if they are ID 24-25-26 and more things. They don't recevie anything and they just spawn themself without register. Plus I am not able to kick them, it says Invalid Player ID.
Reply
#2

is there #undef MAX_PLAYERS
#define MAX_PLAYERS 23 somewhere in your script?
Reply
#3

No.
#undefine MAX_PLAYERS
#define MAX_PLAYERS 30
Reply
#4

Reset your variables in OnPlayerConnect & OnPlayerDisconnect, also in OnGameModeInit & OnGameModeExit.
Reply
#5

What do you mean?
Reply
#6

Reset variables with:
pawn Code:
public OnPlayerConnect(playerid) {
    MyEpicInt[playerid] = 0;
    MyEpicBoolean[playerid] = false;
    format(MyEpicString[playerid], sizeof(128), "");
}
Reply
#7

Already did. Same thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)