SWEP.DrawWeaponSelection
From GMod Wiki
Event Hook | |
Hook Name | DrawWeaponSelection |
Syntax | SWEP:DrawWeaponSelection( Integer x, Integer y, Integer width, Integer height, Integer alpha ) |
Description | This functions draw the selection icon in the weapon selection menu |
Returns | Table |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.DrawWeaponSelection]SWEP.DrawWeaponSelection [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Do not confuse this for a think function, this should strictly be used for drawing.
- Careful what you put here, it's run every frame, a lot of code may cause lag.
- This is only run when the weapon select icon is shown, it will not run when the swep is holstered.