Piorun Posted March 12, 2014 Posted March 12, 2014 Hi, Is this possible to get all gui elements from specific resource? I know its possible to get for ex. all objects from specific resource, but it is possible with guis?
Piorun Posted March 12, 2014 Author Posted March 12, 2014 Noooo I found tricky function: https://wiki.multitheftauto.com/wiki/Ge ... GUIElement But anyway thanks for advice
Moderators Citizen Posted March 12, 2014 Moderators Posted March 12, 2014 guiRoot? no, he said: from specific resource local guiTable = getElementChildren(getResourceGUIElement()) It will return all gui elements from the current resource but only the guis that doest have a parent specified when using guiCreateX functions. So if you want then to get the children (buttons/edits/etc that has a parent) use the getElementChildren as I did on the resource gui element.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now