Pratyush Desai e835462471
Crackhead Programming be like
I am ashamed of what i have done but I got hl2dm to render properly
with the gamestats and everything. It's for the best as it made me
realize some of the things im not accounting for

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-04-23 19:33:02 +05:30

13 lines
272 B
Python

import a2s
# games tested by library author
# Half-Life 2, Half-Life, Team Fortress 2, Counter-Strike: Global Offensive,
# Counter-Strike 1.6, ARK: Survival Evolved, Rust
def a2s_query(ip, port):
address = (ip, port)
info = a2s.info(address)
return info