When you click outside a window, it looses focus. When this event is triggered, you simply hide/destroy/disable/dowhateveryouwanttodowith the gui-stuff.
It works only when client choose other window, not when he click somewhere outside.
Any other ideas?
Hiho. I want to let my players use halogen lamps. I know that I can enable them by setting "handlingFlags" by set ehicleHandling. But I don't know how to operate with bytes.
I want to get vehicles original handling, and change byte value of HALOGEN_LIGHTS, as seen here - http://projectcerbera.com/gta/sa/tutorials/handling .
Can someone explain me how to change values like this? Leaving everything original but HALOGEN_LIGHTS?
Hi! On some servers I noticed that they have a quick trick to close the GUI Windows - clicking outside.
How to do that, but without breaking my element-clicking system?