ToiletMaster Posted December 20, 2012 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 276 Reputation: 7 Joined: 08/11/12 Last Seen: January 26, 2018 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted December 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted December 20, 2012 try this http://pastebin.com/raw.php?i=T88L3fQk 1 Quote Link to comment Share on other sites More sharing options...
ToiletMaster Posted December 20, 2012 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 276 Reputation: 7 Joined: 08/11/12 Last Seen: January 26, 2018 Author Share Posted December 20, 2012 It works GREAT! Thank you so much Emistry! Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 21, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
ToiletMaster Posted December 21, 2012 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 276 Reputation: 7 Joined: 08/11/12 Last Seen: January 26, 2018 Author Share Posted December 21, 2012 Thank you so much annie! I dint notice that at all ! Quote Link to comment Share on other sites More sharing options...
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 ToiletMasterLink to comment
Share on other sites
4 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.