OnClientPreAdminCheck

Last Updated2015-10-30
Created At2007-08-08

Called once a client is authorized and fully in-game, but before admin checks are done. This can be used to override the default admin checks for a client. You should only use this for overriding; use OnClientPostAdminCheck() instead if you want notification. Note: If handled/blocked, PostAdminCheck must be signalled manually via NotifyPostAdminCheck(). This callback is guaranteed to occur on all clients, and always after each OnClientPutInServer() call.

forward Action OnClientPreAdminCheck(int client)

Parameters

int client
Client index.

Return Value

Action Plugin_Handled to block admin checks.