GetAdminPassword Function

Gets an admin's password.

bool GetAdminPassword(AdminId id, char[] buffer, int maxlength)


AdminId id

AdminId index of the admin.

char[] buffer

Optional buffer to store the admin's password.

int maxlength

Maximum size of the output name buffer. Note: This will safely chop UTF-8 strings.

Return Value

True if there was a password set, false otherwise.