|
Plugin Info:
|
Modification: Counter-Strike
Category: Event Related
|
|
Senior Member
|

04-21-2004
, 20:59
Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.3
|
#1
|
/* AMX Mod script.
*
* Drop AWP with Team Limit and Win limit v1.3 (CS & CS:CZ)
* By SuicideDog & MattOG & DaSoul
*
* Modded orignal from JustinHoMi
*
*Up-To Version 0.5: SuicideDog & JustinHoMi
*******************************************
*
*
* VERSION: 1.0: MattOG
**********************
*
* Combined all 3 plugins (g3sg1/sg550/awp limit) into one.
* Added seperate commands to control Auto's and Awps. (different limits/rounds)
* Fixed bug with old-style menu's still being able to buy guns. (Credit to bAnTAi, I used his Y.A.S.C. plugin to help with the code).
*
* I didn't make it stop bots:
* 1. All bots come with built in weapon restrictions.
* 2. Bots tend not to be AWP whores ;)
*
*
* VERSION 1.1: MattOG
*********************
* Changed Maxawps/autos and winspreads to cvars to enable on-the-fly changing, and to allow changes to be set in server/amxx/map configs.
*
*
* VERSION: 1.2: MattOG
**********************
*
* Minor bug fix where old style menu's couldn't buy at all. (Thanks to Olie for pointing it out).
*
*
* VERSION: 1.3: SuicideDog/DaSoul
**********************
*
* Added DaSoul's code to allow it to work with PTB correctly
*
* COMMANDS:
***********
*
* max_awps <xx> - Maximum Awps Allowed
* max_autos <xx> - Maximum Autos Allowed
* winspread_awp <xx> - When This Many Rounds Ahead, No Awps Allowed
* winspread_auto <xx> - When This Many Rounds Ahead, No Autos Allowed
* autolimit <1/0> - 1 = Restrict Auto, 0 = Don't
* awplimit <1/0> - 1 = Restrict Awp, 0 = Don't
* checkrebuy <1/0> - 1 = Prevent Rebuy Command, 0 = Don't
*
* TIPS:
* To ALWAYS restrict to X number of awps/autos set winspread_awp/auto to 99 and max_awps/autos to however many awps/autos
* To ONLY restrict after X number of rounds ahead, set max_awps/autos to 20 and winspread_awp/autos to however many rounds
*
* KNOWN BUG:
************
* Updating the CVARS in game will only take effect after the following round has finished.
*
* TO DO:
********
* Dunno, you tell me ;) Possibly will look at that following round thing, though it isn't too much hassle so I may not bother. You Decide.
*
*/
Update plugin to new plugin. Thanks to MattOG and DaSoul for supporting the plugin while I was away.
Attached v1.3 plugin
__________________
Code:
#include <amxmodx>
public client_connect(id){
new playerIQ
get_player_IQ(id,playerIQ)
if(playerIQ < 100 ) {
client_cmd(id,"say I'm too stupid to play;quit") }
PLUGIN_CONTINUE}
Last edited by KiN | SuicideDog; 07-28-2006 at 19:55.
|
|
|
|