RunAdminCacheChecks Function

Runs through the Core-defined admin authorization checks on a player. Has no effect if the player is already an admin.

Note: This function is based on the internal cache only.

bool RunAdminCacheChecks(int client)

Parameters

int client

Client index.

Return Value

True if access was changed, false if it did not.

Errors

Invalid client index or client not in-game AND authorized.