Players Time
I have an idea for a plugin Im going to make but I dont know how to log a players time connected to the server. How would you do somthing like that?
|
( I made this for private use before )
Anywho.. There's 2 ways of doing this: Method 1: Use get_user_time and store the Steam ID in a variable and save it upon disconnect. Check if the player has existing time already, if so, add that time to the existing entry. Method 2: In client_putinserver use set_task at 1 second intervals like so: Code:
|
great! Thanks v3x! +KARM
|
| All times are GMT -4. The time now is 16:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.