Results 1 to 1 of 1
  1. #1
    Bloom_'s Avatar
    Join Date
    Aug 2017
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    3

    Question Why does my fps drop when there is alot of vgui controls on my menu?

    I made a hack with multiple features such as checkboxes, sliders, combo boxes, buttons, text entry, labels.
    When I go to the rage tab which is mostly filled with these features I drop about 100 fps.
    I get the features by adding the function to the property sheet tab.

    Example:
    Code:
    local function AddSlider(Parent, Text, X, Y, W, H, Min, Max, Decimals)
    	local Slider = vgui.Create("DSlider", Parent)
    	Slider:SetPos( X, Y )
    	Slider:SetSize( W, H )
    	Slider:SetText( Text )
    	Slider:SetMin( Min )
    	Slider:SetMax( Max )
    	Slider:SetDecimals( Decimals )
    end
    
    local function DrawFrame()
    	local Frame = vgui.Create( "DFrame" )
    	Frame:SetPos( 100, 100 )
    	Frame:SetSize( 300, 200 )
    	Frame:SetTitle( "My new Derma frame" )
    	Frame:SetDraggable( true )
    	Frame:MakePopup()
    	
    	AddSlider(Frame, "Slider", 20, 20, 140, 10, 0, 100, 2)
    end
    
    DrawFrame()
    Last edited by Bloom_; 11-29-2018 at 07:34 PM.

Similar Threads

  1. FPS drop when moving cursor
    By iBlankShot in forum Realm of the Mad God Help & Requests
    Replies: 4
    Last Post: 05-05-2015, 03:26 AM
  2. [Solved] Why Does My BlackShot Disconnects When I Do A Hack??
    By HaruShots in forum Blackshot Help
    Replies: 3
    Last Post: 02-04-2014, 04:28 PM
  3. [Solved] FPS Drops when fraps is on
    By Nayeef in forum Combat Arms Help
    Replies: 8
    Last Post: 03-15-2012, 07:07 PM
  4. why does c.a crash when i use a hack ?
    By bumboy in forum Combat Arms Help
    Replies: 12
    Last Post: 05-21-2010, 11:55 PM
  5. Why does combat arms freeze when i press login
    By combatarmshaxor247 in forum Combat Arms Help
    Replies: 3
    Last Post: 08-30-2009, 05:11 PM