[L++] pFramework (USED TO LOAD pUranium)
Hello, I didn't expect that many people to not know what to do so here.
This adds 2 hooks which allow you to bypass every anticheat (unless it detected you opening the file or you might have a birus) that the L++ system uses to communicate.
Simply place a .lua containing this code and run it with the console, then run pUranium and it should work without errors
Code:
hook.Add( "HUDShouldDraw", "hidethehud", function( name )
if (name == "CHudHealth" or name == "CHudBattery" or name == "CHudAmmo") then return false end
end )
if CLIENT then
local ourMat = Material( "addons/saohud/materials/saohud.png" ) -- Calling Material() every frame is quire expensive
hook.Add( "HUDPaint", "greybox", function()
surface.SetDrawColor( 255, 255, 255, 255 )
surface.SetMaterial( ourMat ) -- If you use Material, cache it!
surface.DrawTexturedRect( 10, 10, 512, 114 )
end )
local ourMat2 = Material( "addons/saohud/materials/healthbar.png" )
hook.Add( "HUDPaint", "healthbarz", function()
surface.SetDrawColor( 255, 255, 255, 255 )
surface.SetMaterial( ourMat2 )
surface.DrawTexturedRect( 112, 29, 385, 52 )
end)
end
Simply place a .lua containing this code and run it with the console, then run pUranium and it should work without errors
