|xTR|Silver Posted March 10, 2014 Share Posted March 10, 2014 can anyone make me a lock for GUI system ? i need it for my VIP gui lock , everyone can use it :\\ here is the data : function flyCheck() local checked = guiCheckBoxGetSelected(cW.chFly) if checked then setWorldSpecialPropertyEnabled("aircars", true) else setWorldSpecialPropertyEnabled("aircars", false) end end addEventHandler("onClientGUIClick", cW.chFly, flyCheck, false) function hoverCheck() local checked = guiCheckBoxGetSelected(cW.chHover) if checked then setWorldSpecialPropertyEnabled("hovercars", true) else setWorldSpecialPropertyEnabled("hovercars", false) end end addEventHandler("onClientGUIClick", cW.chHover, hoverCheck, false) function hopCheck() local checked = guiCheckBoxGetSelected(cW.chBunny) if checked then setWorldSpecialPropertyEnabled("extrabunny", true) else setWorldSpecialPropertyEnabled("extrabunny", false) end end addEventHandler("onClientGUIClick", cW.chBunny, hopCheck, false) function jumpCheck() local checked = guiCheckBoxGetSelected(cW.chJump) if checked then setWorldSpecialPropertyEnabled("extrajump", true) else setWorldSpecialPropertyEnabled("extrajump", false) end end addEventHandler("onClientGUIClick", cW.chJump, jumpCheck, false) function showCheats() local isVisible = guiGetVisible(cW.main) if isVisible then guiSetVisible(cW.main, false) showCursor(false) else guiSetVisible(cW.main, true) showCursor(true) end end addCommandHandler ( "vip", showCheats ) bindKey ( "F2","down", showCheats ) function btnCloseCheats() guiSetVisible(cW.main, false) showCursor(false) end addEventHandler("onClientGUIClick", cW.btn, btnCloseCheats, false) function showCheatsHelp() guiSetVisible(cW.Help, true) guiBringToFront(cW.Help) end addEventHandler("onClientGUIClick", cW.btnHelp, showCheatsHelp, false) function hideCheatsHelp() guiSetVisible(cW.Help, false) end addEventHandler("onClientGUIClick", cW.btnHelpClose, hideCheatsHelp, false) Link to comment
Anubhav Posted March 10, 2014 Share Posted March 10, 2014 If you want by acl use isObjectInAcl or use guiSetInputMode for VIP's account name. Link to comment
|xTR|Silver Posted March 10, 2014 Author Share Posted March 10, 2014 oh yea anubhav , thx , but i've tried your note script.. i typed /note and it dint work Link to comment
Anubhav Posted March 10, 2014 Share Posted March 10, 2014 Thanks for report. But you could PM too. Add me on skype anubhav.agarwal87 i will tell you how to make it. 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