function ActMenu()local Frame = vgui.Create( "DFrame" )
Frame:SetSize( 328, 101 )
Frame:Center()
Frame:SetTitle("")
Frame:MakePopup()
Frame:SetVisible(true)
Frame:ShowCloseButton(false)
Frame.Paint = function( self, w, h )
end
hook.Add("Think","openmenukey",function()
if (input.IsButtonDown(KEY_G) and !keyDown) then
ActMenu()
end
keyDown = input.IsButtonDown(KEY_G)
end)
I saved it in the client folder and its not working when I press "G":(
Thx for help
GM/KeyPress Use that.
Sorry, you need to Log In to post a reply to this thread.