View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008651 | New Feature Requests | General | public | 2014-11-23 00:55 | 2019-02-10 15:50 |
Reporter | rbxf234 | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0008651: [Request] Additional times when onClientMinimize should be triggered | ||||
Description | If you use alt+tab or if you click windows key while playing mta you can get out of the game without onClientMinimize or onClientRestore being triggered at all if this event isn't supposed to do this what i am requesting, i request a new event for this type of thing. | ||||
Steps To Reproduce | get lower resolution in windowed mode (example 800x600 ) function testFunction() function anotherTestFunction() | ||||
Tags | No tags attached. | ||||
|
The "onClient..." events are clientside only, so you have to handle them in a clientside script. If you do that in a serverside script it obviously isn't going to work. |
|
I'm pretty sure he meant "on the server" not as "serverside", but "upload it to the server" |
|
yeah sorry about a typo, this is obviously clientsided but the script is hosted on the server. |
|
<i>onClientMinimize</i> and <i>onClientRestore</i> are specifically triggered when <i>minimized</i> and restored from <i>minimized</i> state. Alt+tab in windowed mode does not minimize the window, it just swaps the focus to an another window. This is however not the case when you're fullscreen. It will trigger as it will be minimized and restored. This issue should introduce two new events if we were to do this. |
|
Pull request attempted here: https://github.com/multitheftauto/mtasa-blue/pull/185 |