[Native] GetUserExtraInfo

For scripting examples for learning how to use AMXX.
User avatar
Archive-Poster
Posts: 1249
Gender:
United States of America

[Native] GetUserExtraInfo

Post 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)
Attachments
native_getuserextrainfo.sma.zip
(952 Bytes) Downloaded 3 times
getuserextrainfo.inc.zip
(575 Bytes) Downloaded 5 times

Who is online

Users browsing this forum: No registered users and 1 guest