Closed Nico8340 closed 5 months ago
A set of pictures of the new look in action (default resources)
Good job! I would just add more spacing between the title and message, as well as the icon on the left @Nico8340
Good job! I would just add more spacing between the title and message, as well as the icon on the left @Nico8340
Should there be more space vertically or horizontally? @Fernando-A-Rocha
Good job! I would just add more spacing between the title and message, as well as the icon on the left @Nico8340
Should there be more space vertically or horizontally? @Fernando-A-Rocha
On the y axis between the 2 text labels, and on the x axis between the image and the texts, imo @Nico8340
On the y axis between the 2 text labels, and on the x axis between the image and the texts, imo @Nico8340
Does they look better now? 😄
@Fernando-A-Rocha
On the y axis between the 2 text labels, and on the x axis between the image and the texts, imo @Nico8340
Does they look better now? 😄 @Fernando-A-Rocha
I think it looks fine now
There is no way to handle when a player clicked a specific button like Ok, Cancel? Seems like all they do is close the window
There is no way to handle when a player clicked a specific button like Ok, Cancel? Seems like all they do is close the window
@Fernando-A-Rocha Of course, it is possible to handle the buttons, the function returns three variables that contain the buttons, and the onClientGUIClick event can be used to handle the responses. They only closes so that the scripts do not have to handle this separately.
By the way, I would like to use this system for the new chat implementation as well, in case of mute, notify the player to end this activity or he will face a bigger sanction.
The changes have been made, but for some reason GitHub says they haven't. (they are now, it was just github's bad ux,.)
I'm closing this pull request because I have a much better idea for the implementation that is completely different from this one.
This PR removes the old msgbox resource and creates a new one that provides a much simpler concept and looks better. Available types: info, question, warning, error Available buttons: ok, okcancel, retrycancel, yesno, yesnocancel![Képernyőkép 2024-01-28 012351](https://github.com/multitheftauto/mtasa-resources/assets/122193236/6fba2f8b-7748-4523-90ac-aa15d2c16eaa)