Posts: 160
Threads: 42
Joined: Aug 2012
Reputation:
0
when player connects he can type before he login. Players use to copy admin names and connect to server when login dialog appears they press f6 and type start using admin commands . How to fix this ?
Tell me which code to show ?
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Or you could reset all variables OnPlayerConnect and load them when the player logs in... that would be a much safer option...
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
the better question is why does these commands even work if the player hasn't logged in ?
Normally you set the admin variable to true if an admin account logs in and not if someone joined with some special name
=> You should rewrite your admin system
Posts: 160
Threads: 42
Joined: Aug 2012
Reputation:
0
its bugging again , now different problem. Only the admin who logins 1st in server only he can use cmds , other admin who login after him he can't use ..