PDA

View Full Version : [Native] GetUserExtraInfo


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.

ConnorMcLeod
12-08-2010, 01:50
Comment are welcome.

You could use orpheu and add support for amx_reloadadmins command :mrgreen:

BaD CopY
05-28-2015, 15:45
Can you make an example plugin please ?

fysiks
05-28-2015, 20:34
Can you make an example plugin please ?

Perhaps you should read my original post again. I.e. there exists an example. It's not a plugin technically but that's irrelevant.

pupdebox
08-31-2016, 09:14
Thanks for sharing. I was looking for something like this.

Craxor
09-01-2016, 03:14
For a long time, people posts only random replies.

pupdebox
09-01-2016, 10:53
For a long time, people posts only random replies.

If something helps me improve my skillz, i would be most grateful. I show my respect by posting "random replies".

I will be the best scripter in the future. Deal with it kid.

Craxor
09-02-2016, 02:13
If something helps me improve my skillz, i would be most grateful. I show my respect by posting "random replies".

I will be the best scripter in the future. Deal with it kid.

Ouhf. you're so cute.

If you want to improve your skill(s) i will tell you the secret: 'Think' before 'say/posting/code' something.