Masrawy220 0 Posted June 1, 2016 Share Posted June 1, 2016 Hi all devs, i build quset to reboot server but i need add function to quit all player i added this function in quest command("quit") but the func not work on all but work with me only any way to fix this problem also need way to enable any func at the moment of activate func sorry iam bad in eng.. Link to comment Share on other sites More sharing options...
Active Member Exygo 1098 Posted June 1, 2016 Active Member Share Posted June 1, 2016 Why would you do that ? that's so dumb... Use /shutdown command as IMPLEMENTOR https://www.youtube.com/channel/UCQ8mAeda9TWq6SsTzB53emw/videos Link to comment Share on other sites More sharing options...
Masrawy220 0 Posted June 1, 2016 Author Share Posted June 1, 2016 6 hours ago, Exygo said: Why would you do that ? that's so dumb... Use /shutdown command as IMPLEMENTOR This example was only for quest but I just want a way to write something like this thx for reply Link to comment Share on other sites More sharing options...
Marggraf 143 Posted June 1, 2016 Share Posted June 1, 2016 Spoiler quest exit_all_player begin state start begin when login begin loop_timer("exit_all_player", 5*60) --check 5 m end --when when exit_all_player.timer begin local exit = game.get_event_flag("exit") if exit == 1 then command("quit") end --if end --when end--state end --quest activation: /e exit 1 deactivation: /e exit 0 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now