This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function wait_png(matstr) | |
| local html = vgui.Create("DHTML") | |
| html:AddFunction("console", "memeify", function() | |
| html.done = true | |
| end) | |
| local mat = Material(matstr) | |
| local rw, rh = mat:GetInt "$realwidth", mat:GetInt "$realheight" | |
| local f = file.Open("materials/"..matstr, "rb", "GAME") | |
| local cont = f:Read(f:Size()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local Interactive2D3D = {} | |
| Interactive2D3D.IsVisible = function(self) return (self.Visible or false) end | |
| Interactive2D3D.Start = function(self, vPos, aRot, vScale) | |
| if !vPos or !aRot then return false end | |
| self.Valid = true | |
| local plpostoscreenx = vPos.x - LocalPlayer():GetShootPos().x | |
| local plpostoscreeny = vPos.y - LocalPlayer():GetShootPos().y | |
| local plpostoscreen = math.sqrt( plpostoscreenx^2+plpostoscreeny^2 ) | |
| local dist1 = 1/( math.cos( math.rad( EyeAngles().y ) ) ) * plpostoscreen | |
| local distfull = 1/( math.cos( math.rad( EyeAngles().p ) ) ) * dist1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $file = file_get_contents("http://steamcommunity.com/sharedfiles/filedetails/?id=493980032"); | |
| $muster = '<a href="http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/\?id=([0-9]+)">'; | |
| preg_match_all($muster, $file, $match); | |
| $arr = array_unique(array_values($match[1])); | |
| sort($arr); |