fysiks
12-07-2010, 23:09
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 (http://forums.alliedmods.net/showthread.php?t=114089) and inspired to completion by this request (http://forums.alliedmods.net/showthread.php?t=144715).
The new format for an entry is users.ini is as follows:
<name|ip|steamid> <password> <access flags> <account flags> [extra info]
Native:
/*
@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.
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 (http://forums.alliedmods.net/showthread.php?t=114089) and inspired to completion by this request (http://forums.alliedmods.net/showthread.php?t=144715).
The new format for an entry is users.ini is as follows:
<name|ip|steamid> <password> <access flags> <account flags> [extra info]
Native:
/*
@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.