Raised This Month: $ Target: $400
 0% 

get_user_stats problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-06-2007 , 14:06   get_user_stats problem
Reply With Quote #1

I am writing a plugin in which I have to retrieve the users kills & deaths upon connecting. As of now I am using the get_user_stats call in client_authorized.

Everything is coming up as 0; pos, szStats[0] and szStats[1]

I also tried using get_stats() but that looks up stats based on stats index.

Does anyone have any ideas?

PHP Code:
new szStats[8]
new 
szBHits[8]

new 
pos get_user_stats(idszStatsszBHits
__________________
Bugsy 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 11:13.


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