Raised This Month: $ Target: $400
 0% 

get_user_time problem !


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-08-2009 , 03:24   Re: get_user_time problem !
Reply With Quote #4

There is no such function in amxx.
Every time client leaves your server, you must add get_user_time(id) to some variable stored in some database (nVault, mysql etc.) and then when you want to know total time, you just need to retrieve that variable from database and add current get_user_time(id) to it.
__________________
Impossible is Nothing
Sylwester 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 13:48.


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