AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get_user_info() (https://forums.alliedmods.net/showthread.php?t=206004)

Diegorkable 01-17-2013 11:03

get_user_info()
 
hey guys I need a quick help with get_user_info function

I used to work it that way when I could setinfo to a random value, lets say:
I type in console: "setinfo _monster_splash 15" and it saved as an info
then when I did in a plugin get_user_info with "_monster_splash" as the key it always returned me 15

for some reason now when I do get_user_info to something in the plugin, I do it to an info key WHICH I HAVE in my 'setinfo' list in console, it doesn't return anything, and it returns an empty string.

Anyone knows whys that or could give me example of a code to know how this should work to see if im doing anything wrong?

thanks

simanovich 01-18-2013 03:05

Re: get_user_info()
 
ממצב אחי?

mmm....
Try get_user_info on clean server (Clean install of AMXX)

aaarnas 01-18-2013 21:09

Re: get_user_info()
 
Write setinfo in your client console and check if you really have that value in the list as you requesting with server.

If yes, show code, how you're doing this.


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

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