Page 1 of 1

[Native] GetUserExtraInfo

Posted: Sat Oct 03, 2026 4:22 pm
by Archive-Poster
GetUserExtraInfo

This adds the functionality of one extra piece of data in user.ini for each user listed. You are able to add a 5th argument for miscellaneous data. Based on my work in this thread and inspired to completion by this request.

The new format for an entry is users.ini is as follows:

Code: Select all

<name|ip|steamid> <password> <access flags> <account flags> [extra info]
Native:

Code: Select all

/*
    @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)