How Make Enable Module Fly + Disabler Delay Disabler Module Disable
-
This post is deleted!
-
This post is deleted!
-
look at spammer scripts
-
@dasd-sadsa you are making CraftPlay fly script that auto disables the disabler am i right?
-
This post is deleted!
-
var timer = new MSTimer(); var enabled // global onEnable: function() { //fly true whatever you did there //but dont put disabler false in here enabled = true }, onUpdate: function() { if (timer.hasTimePassed(delay) && enabled == true) { enabled = false; timer.reset() //disabler false or whatever you want to do } }
i think you cant put delayed actions in enable/disable? Correct me if im wrong
-
var millisecondsToWait = 500; setTimeout(function() { // Whatever you want to do after the wait }, millisecondsToWait);
-
@plumer-man that works for onEnable too? Cool
-
@faaatpotato it should