ToiletMaster Posted December 20, 2012 Posted December 20, 2012 (edited) Hi guys, Just wanted to ask is there a script that allows once a player goes in. The timer will automatically start with 15 minutes duration. Should the player not leave the map by 15 minutes, it'll automatically kick the player out. Thanks! Edited December 20, 2012 by ToiletMaster Quote
Emistry Posted December 20, 2012 Posted December 20, 2012 try this http://pastebin.com/raw.php?i=T88L3fQk 1 Quote
ToiletMaster Posted December 20, 2012 Author Posted December 20, 2012 It works GREAT! Thank you so much Emistry! Quote
AnnieRuru Posted December 21, 2012 Posted December 21, 2012 there's a bug in this script where if the player has leave, and come in back, the timer will execute twice if( select("Enter for 15 minutes.:Cancel") == 1 ){ deltimer strnpcinfo(0)+"::OnKick"; // <---- add this addtimer ( 15 * 60000 ),strnpcinfo(0)+"::OnKick"; warp .map$,0,0; } 1 Quote
ToiletMaster Posted December 21, 2012 Author Posted December 21, 2012 Thank you so much annie! I dint notice that at all ! Quote
Question
ToiletMaster
Hi guys,
Just wanted to ask is there a script that allows once a player goes in. The timer will automatically start with 15 minutes duration.
Should the player not leave the map by 15 minutes, it'll automatically kick the player out.
Thanks!
Edited by ToiletMaster4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.