So I need to do a check when a player joins my server and see which group they are in, here’s my plan:
Player connects -> SteamID64 sent to steam and return with xml -> do for k,v in pairs for each groupID64 to match the one we locally set -> Prints message (will do something else but for debugging sake )
So I got this:
http.Fetch( "http://steamcommunity.com/profiles/"..util.SteamIDTo64( ply:SteamID() ).."?xml=1", function( stuff ) end, function() print( "It failed :((" ) end
But now I need a way to transform the xml data into a table or a way I can get information from it.