Raised This Month: $12 Target: $400
 3% 

How can i get CSGO Player Hourse Played?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
juss
Senior Member
Join Date: Jan 2016
Old 01-12-2017 , 00:55   How can i get CSGO Player Hourse Played?
Reply With Quote #1

I wanna check the player on connect to know how many hours player played in csgo , so i could kick those players who played less then 1500 hours (just wanna keep it for those who going good)

edited
what i think is that i can use xml from steam api
http://api.steampowered.com/ISteamUs...xxx&format=xml

in output i can parse "total_time_played" but i dont know how to get data in script from steam api and how to parse it in sourcepawn, also maybe there is other way to get data without using steam api (cause i dont feel like using api key, is there a simplier way?)

Yet i also would need to convert clietn steam_id to Steam64 ID somehow

Last edited by juss; 01-12-2017 at 01:22.
juss is offline
 


Thread Tools
Display Modes

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 07:01.


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