How to test if a player is in a steam group error

Well, I want to make it so a player becomes a group if he is in the steamgroup.

Is this how?


http.Fetch( "https://steamcommunity.com/groups/dropdeadservers/memberslistxml/?xml=1",

local meta = FindMetaTable("Player")
function meta:CommunityID()
	local steamid = self:SteamID()
	local x, y, z = string.match( steamid, "STEAM_(%d+):(%d+):(%d+)" )
	if ( x and y and z ) then
		local CommunityID = string.format( "765%0.f", z * 2 + 61197960265728 + y )
		print( "SOMEONE HERE IS IN GROUP WITH: "..CommunityID )
		return CommunityID
	else
		return "STEAM_0:0:0"
	end
end
function( error )
    print( "failed" )
end )

Or do I need to do something else? because I cant figure out how to use fttp.fetch

Third SkidCheck clone incoming?

EDIT: wow 100 posts
let’s celebrate

use the gXML lua module. Search on github. way easier.

I think this still works…

http://forum.facepunch.com/showthread.php?t=996309

:snip:

It’s actually a shame to see you never learn.

as mikey pointed out, just why?

clearly youre really really good

what is the backstory behind OP?

courtesy of mikey

so it’s a classic case of trying to act like someone that he’s not, that’s convenient

How many times do we have to tell you to not make a thread wtf.
Also use the fucking wiki cuz what youre doing right now is extremely retarded wtf, dont convert their steam id to sid64 just get their sid64 by calling PLAYER:SteamID64()

Not to mention it’s actually a syntax error.

I’m confused, is this guy not allowed to receive help or is he just being stupid?owo

He’s made a bunch of threads as the like, and in short is just being stupid.

Stop making threads like this. Post here instead. Rather than ask for spoonfed code, try to learn.

E: Lates. I just saw that is was this dude making another thread and decided do say what I said.

I’ll leave this here.

He never changes.