AMX Mod X API Documentation

Signature
native admins_lookup(num, AdminProp:Property, Buffer[] = "", BufferSize = 0);
Description

Retrieves information about a dynamically stored admin.

Notes
  • For a list of possible props, see the AdminProp enum in amxconst.inc
Parameters
  • num Admin storage index
  • Property Admin property to retrieve
  • Buffer Buffer to copy property information to, if AdminProp_Auth

    or AdminProp_Password is specified

  • BufferSize Maximum buffer size
Returns

Property value if AdminProp_Access or AdminProp_Flags

is requested, 0 otherwise

Errors
  • If an invalid storage index is specified, an error will

    be thrown.

Назад
Верх