Well, I want to make it so a player becomes a group if he is in the steamgroup.
Is this how?
[CODE]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 )[/CODE]
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..
[url]https://facepunch.com/showthread.php?t=996309[/url]
:snip:
It's actually a shame to see you never learn.
as mikey pointed out, just why?
[T]https://feen.us/da1n.png[/T]
clearly youre really really good
what is the backstory behind OP?
[QUOTE=beeteegee;51138903]what is the backstory behind OP?[/QUOTE]
[URL="https://facepunch.com/showthread.php?t=1536151&p=51135578&viewfull=1#post51135578"]courtesy of mikey[/URL]
[QUOTE=ZeBull;51138919][URL="https://facepunch.com/showthread.php?t=1536151&p=51135578&viewfull=1#post51135578"]courtesy of mikey[/URL][/QUOTE]
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
[QUOTE=Chickengbs;51141533]I'm confused, is this guy not allowed to receive help or is he just being stupid?owo[/QUOTE]
He's made a bunch of threads as the like, and in short is just being stupid.
Stop making threads like this. Post [URL="https://facepunch.com/showthread.php?t=1508566"]here[/URL] 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 [URL="https://facepunch.com/showthread.php?t=1533251&p=50998635&viewfull=1#post50998635"]this[/URL] here.
He never changes.
Sorry, you need to Log In to post a reply to this thread.