Author Topic: SetServerRule  (Read 1348 times)

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
SetServerRule
« on: October 08, 2012, 10:05:26 am »
I can add Server Rule By this CMD From WIKI
Quote
function onPlayerCommand( id, cmd, text )
{
     if ( cmd == "testrule" )
     {
          SetServerRule("Test Rule", "Test Value");
     }
}

But How To Remove It When I Need ?

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: SetServerRule
« Reply #1 on: October 08, 2012, 05:10:39 pm »
I think setting it to "" will remove it. But if that doesn't work, I donno :P

mimomohamed

  • Full Member
  • ***
  • Posts: 126
  • Karma: +5/-1
    • View Profile
    • http://www.egyptforall.smffy.com
Re: SetServerRule
« Reply #2 on: October 08, 2012, 05:35:25 pm »
I think setting it to "" will remove it. But if that doesn't work, I donno :P

That works man xD thanks man :) ;D

 

© Liberty Unleashed Team.