Apo Posted June 4, 2016 Posted June 4, 2016 (edited) hi how to cancel function for example:how to cancel faction 1 in the faction 2 function 1() code end function 2() how to cancel function 1 here? end Edited June 5, 2016 by Guest
ViRuZGamiing Posted June 4, 2016 Posted June 4, 2016 What do you mean? He means function instead of faction
Apo Posted June 5, 2016 Author Posted June 5, 2016 (edited) no how to false function int other function for example: function checkAFKPlayers() for index, thePlayer in ipairs(getElementsByType("player"))do if (getPlayerIdleTime(thePlayer) > 300000) then kickPlayer(thePlayer, "Idle for 5 minutes") end end end setTimer(checkAFKPlayers, 30000, 0) - how to make new function for cancel or false function checkafkplayer Edited June 5, 2016 by Guest
Bean666 Posted June 5, 2016 Posted June 5, 2016 as he said use killTimer or if you mean: cancelEvent well i dont know if you mean cancelEvent but imo, it's killTimer that can cancel that function you are making.
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