CreateAdmin Function

Creates a new admin entry in the permissions cache and returns the generated AdminId index.

AdminId CreateAdmin(const char[] name)

Parameters

const char[] name

Name for this entry (does not have to be unique). Specify an empty string for an anonymous admin.

Return Value

New AdminId index or INVALID_ADMIN_ID if name is empty