I’m constructing a game-mode modification for TTT, where if the player logs in, and they don’t own CSS, they’re immediately kicked. To accomplish this I’m getting the users ID with Player:UniqueID( ) , I then hope to concatenate this the steam-community URL, grab the page’s HTML content and assign to to a string, then perform a quick pass to search for the telltale segment that says they own CSS (I’m sure I can tak-on a parameter to the url to make it show me all-games, with max results displayed).
Obviously this would be intrusive if the player had their profile set to private, so I plan to implement a feature where they only have to be verified once as owning the game.
Sorry if my questions are over-asked and noobish, I admit I’m looking for a quick-fix (I do plan to sit down and learn Gmod LUA properly one day, but when I have more time).
And my motive for doing this, is I’m honestly sick of people who just download the extracted vmf (or the old one before steampipe, can’t remember its extension), dump it in their garrysmod/garrysmod and hey presto, they don’t have to buy the game! I just don’t believe anyone who owns Gmod, and has a stable connection, can’t fork out the money for CSS (especially when it’s on sale for $3 or so). I mean, a meal out is like $10, and it doesn’t last long. Buy CSS, and you’re likely to have 100’s of hours of fun with the content it provides (and the game itself).
Any help or API references would be appreciated greatly