admins_lookup

Синтаксис

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

Употреба

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

Описание

Retrieves information about a dynamically stored admin.

Забележка

For a list of possible props, see the AdminProp enum in amxconst.inc

Връщаща стойност

Property value if AdminProp_Access or AdminProp_Flags
is requested, 0 otherwise

Грешка

If an invalid storage index is specified, an error will
be thrown.