MamadHastam Posted December 22, 2022 Share Posted December 22, 2022 how can i use if in this : addCommandHandler("", function () graMode = not graMode if graMode then outputChatBox("", 255, 255, 255, true) else outputChatBox("", 255, 255, 255, true) end end ) Link to comment
AngelAlpha Posted December 22, 2022 Share Posted December 22, 2022 1 hour ago, MamadHastam said: addCommandHandler("", function () graMode = not graMode if graMode then outputChatBox("", 255, 255, 255, true) else outputChatBox("", 255, 255, 255, true) end end ) addCommandHandler("gramode", function () graMode = not graMode if graMode then outputChatBox("graMode is true", 255, 255, 255, true) else outputChatBox("graMode is false", 255, 255, 255, true) end end ) for example 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