View Single Post
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-07-2010 , 23:09   [Native] GetUserExtraInfo
Reply With Quote #1

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:
<name|ip|steamid> <password> <access flags> <account flags> [extra info]

Native:

PHP Code:
/*
    @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
Comments are welcome.
Attached Files
File Type: sma Get Plugin or Get Source (native_getuserextrainfo.sma - 1348 views - 1.6 KB)
File Type: inc getuserextrainfo.inc (737 Bytes, 446 views)
__________________

Last edited by fysiks; 12-08-2010 at 16:42. Reason: typo
fysiks is offline