'LinKin Posted April 24, 2014 Share Posted April 24, 2014 Hello, Today I found this on the Wiki: setRuleValue I made a fast test to see how it worked but I still don't understand what it does. addCommandHandler("ss", function(p, c, zz) if zz == "0" then local m = getRuleValue ( "myScriptRunning" ) outputChatBox(tostring(m)) elseif zz == "1" then local m = removeRuleValue ( "myScriptRunning" ) outputChatBox(tostring(m)) elseif zz == "2" then local m = setRuleValue ( "myScriptRunning", "yes" ) outputChatBox(tostring(m)) end end) What is it for? Explained in a friendly way Link to comment
pa3ck Posted April 24, 2014 Share Posted April 24, 2014 The rule you set is going to show up in server browsers like game-state.com under 'Server Variables'. 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