Source Ban linky thing lua script
I found this on my old hard drive...
Probably a yearish old now?
Uses kawaii source banner and steam api.
Have fun.
Pastebin here: http://pastebin.com/3fNfvqcy
- fiire
Probably a yearish old now?
Uses kawaii source banner and steam api.
Have fun.
Code:
local apikey = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" -- get a key @ http://steamcommunity.com/dev/apikey
print("Yo.")
print("Retrieving link...")
http.Fetch("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key="..apikey.."&steamids="..LocalPlayer():SteamID64(), function(data)
print("Got your data...")
local swag = util.JSONToTable(data)
local ip = swag["response"]["players"][1]["gameserverip"]
print("ip = "..ip)
http.Fetch("http://www.kawaii.gdaap.com/api.php?ip="..ip,function(******)
print("Don't go to "..******)
SetClipboardText(******)
end)
end)
- fiire


