Raised This Month: $ Target: $400
 0% 

get_user_info()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 01-17-2013 , 11:03   get_user_info()
Reply With Quote #1

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
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 01-18-2013 , 03:05   Re: get_user_info()
Reply With Quote #2

ממצב אחי?

mmm....
Try get_user_info on clean server (Clean install of AMXX)
__________________
simanovich is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 01-18-2013 , 21:09   Re: get_user_info()
Reply With Quote #3

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.
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
Reply



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 13:46.


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