GM:GUIMouseReleased

From Garry's Mod
Jump to: navigation, search
 GM:GUIMouseReleased( )

Description

Called whenever a players releases a mouse key on the context menu in Sandbox or on any panel derived from CGModBase, such as the panel used by gui.EnableScreenClicker and the panel used by Panel:ParentToHUD.

Arguments

number mouseCode

The key the player released, see MOUSE_ Enums

Arguments

Vector aimVector

A normalized direction vector local to the camera. Internally this is gui.ScreenToVector( gui.MousePos() ).
Personal tools
Navigation