Hani2001 Posted February 11, 2018 Share Posted February 11, 2018 (edited) Hi Please i need function if checkbox checked txd will be remplaced if unchek Return Normal Edited February 11, 2018 by Hani2001 Link to comment
DNL291 Posted February 11, 2018 Share Posted February 11, 2018 "onClientGUIClick" guiCheckBoxGetSelected engineLoadTXD engineImportTXD engineLoadDFF engineReplaceModel engineRestoreModel Link to comment
ÆBKV Posted February 11, 2018 Share Posted February 11, 2018 (edited) function replace() if guiCheckBoxGetSelected(...) then txd = engineLoadTXD("...") engineImportTXD(txd,...) dff = engineLoadDFF("...") engineReplaceModel(dff,...) else engineRestoreModel(...) end end addEventHandler("onClientGUIClick",root,replace) Edited February 11, 2018 by ÆBKV Link to comment
Hani2001 Posted February 11, 2018 Author Share Posted February 11, 2018 (edited) Thank You Edited February 11, 2018 by Hani2001 Link to comment
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