getuserextrainfo.inc
VIP Сървъри
Всички сървъри
/*
Include for:
Native to get the 5th argument of a user entry in users.ini
native bool:GetUserExtraInfo(const UserKey[], Output[], len)
; New Format of admin account in users.ini (backwards compatible):
; <name|ip|steamid> <password> <access flags> <account flags> [extra info]
*/
#if defined _getuserextrainfo_included
#endinput
#endif
#define _getuserextrainfo_included
#pragma reqlib "getuserextrainfo"
/*
@param UserKey String: <name|ip|steamid>
@param Output String to output "ExtraInfo" (The 5th argument of a user entry in users.ini)
@param len Max length of output string
@return True if found any ExtraInfo.
*/
native bool:GetUserExtraInfo(const UserKey[], Output[], len)
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <getuserextrainfo>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в
scripting/include/3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe