Raised This Month: $51 Target: $400
 12% 

[Native] GetUserExtraInfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 1350 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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode