View Single Post
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-01-2012 , 21:26   Re: [Any] Server Whitelist Advanced
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
Suggestion:

change "public OnClientPostAdminCheck(client)" for "public OnClientAuthorized(client, const String:auth[])"

This prevent that the client can download files and the kick is more instant (and include auth)
http://docs.sourcemod.net/api/index....d=show&id=394&

Quote:
Called when a client receives a Steam ID. The state of a client's authorization as an admin is not guaranteed here. Use OnClientPostAdminCheck() if you need a client's admin status. This is called by bots, but the ID will be "BOT".
I need admin status. Thanks thought.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline