/* To load this plugin, just compile and then move the compiled plugin_noclip to addons/adminmod/scripts, and add addons/adminmod/scripts/noclip.amx to your plugin.ini. For help on compiling plugins, go to www.adminmod.org and look in the tutorials section of the scripting section. */ /* Here are explanations of the variables from the plugin that are go into a bit more depth. Just change them in plugin_noclip.sma before you compile it, and you'll be fine. Any other questions, email me at thor@swirve.com */ /* If this is enabled (1), then noclip is turned off for everybody in the server after NOCLIP_TIME seconds. If it is disabled, then the people who are noclipping continue to do so until the round ends. I added this feature because someone suggested it, and I can't ignore any suggestion. :) */ new NOCLIPOFF 0 /* This is the amount of time it takes for noclipping to be turned off for everybody after admin_noclipon or a vote finishes. If NOCLIPOFF is 0, then this does not apply, and noclipping doesn't end until the round does. */ #define NOCLIP_TIME 10 /* If you change this to 1, you will have a noclip vote start 450 seconds into a map. This is if you want to give the people a chance to change the setting, but not to decide when they will vote. */ #define AUTO_NOCLIP_VOTE 0 /* Change to 0 to disable admin_noclipon Allows or disallows admins to change the status. For if you want the noclipping to stay on, or to make the admins start a vote to change it. */ #define ENABLE_NOCLIP 1 /* Change to 0 to disable admin_vote_noclip Allows or disallows admins to vote to change the status. If you want the noclipping to stay on, and not allow anybody to change it. */ #define ENABLE_NOCLIP_VOTE 1 /* Change to 0 to disable autostatus Turns on or off autoresponse. I can't see why you'd want to change this unless you want noclipping to be on for eternity. */ #define ENABLE_NOCLIP_STATUS 1 /* Change this to whatever ratio of players need to vote for noclip to change it. Not much else needed here. */ #define NOCLIP_VOTE_RATIO 51 /* Change this to the number seconds a NON-admin will have to wait to revote noclip. To vote_noclip again you wait seconds. This stops vote-spamming. Or here, either. */ new RVfreq=30; /* Change this to 1 to disable public use of vote_noclip by default. You should still be able to turn it on using admin_vote_noclip 1. */ new NOCLIPVoteOff=0; /*Change this to 0 to have noclipping off to start with, 1 for it to be on. */ new COn=1 // Remember to email me at thor@swirve.com with any suggestions for this plugin, comments, // ideas, requests, etc.