Posts: 252
Threads: 72
Joined: Jan 2012
Reputation:
0
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.
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
is there #undef MAX_PLAYERS
#define MAX_PLAYERS 23 somewhere in your script?
Posts: 252
Threads: 72
Joined: Jan 2012
Reputation:
0
No.
#undefine MAX_PLAYERS
#define MAX_PLAYERS 30
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Reset your variables in OnPlayerConnect & OnPlayerDisconnect, also in OnGameModeInit & OnGameModeExit.