AMXX-BG.INFO getuserextrainfo.inc Raw include

getuserextrainfo.inc

Original include source with line numbers.

Back Download .inc
1 /*
2 Include for:
3
4 Native to get the 5th argument of a user entry in users.ini
5
6 native bool:GetUserExtraInfo(const UserKey[], Output[], len)
7
8 ; New Format of admin account in users.ini (backwards compatible):
9 ; <name|ip|steamid> <password> <access flags> <account flags> [extra info]
10
11 */
12 #if defined _getuserextrainfo_included
13 #endinput
14 #endif
15 #define _getuserextrainfo_included
16
17 #pragma reqlib "getuserextrainfo"
18
19 /*
20 @param UserKey String: <name|ip|steamid>
21 @param Output String to output "ExtraInfo" (The 5th argument of a user entry in users.ini)
22 @param len Max length of output string
23
24 @return True if found any ExtraInfo.
25
26 */
27 native bool:GetUserExtraInfo(const UserKey[], Output[], len)
28