Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Senior Member
    Join Date
    Jul 2014
    Location
    Alabama
    Posts
    253
    I have this and it is with proconrulz not insane limit.

    Proconrulz Script:

    On Spawn;PlayerFirst;PlayerYell Shotguns are not allowed!
    On Kill;Damage Shotgun;Say %p% was KICKED by admin for using a %w%;Kick No shotguns! Read the rules please - type !rules

    I'm not sure about the tban and time, but this works well.

    I'm going to use ADKats though if I can get it worked out later today to just not allow shotguns to spawn in.
    Last edited by Mamba334; 03-08-2016 at 17:02.

  2. #12
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    253
    Quote Originally Posted by Level View Post
    @maxdralle
    can you tell me the way it works on all maps? With 2x Kill, 1x TBAN for 20min.
    Would that work well with Insane Limits?
    hi level,
    here is your version for proconrulz. it works on all maps.
    2 shotgun slots for each team. after a shotgun kill you will get a shotgun slot (if a slot is free)
    without shotgun slot: after 2x kill = kick, 3x kill = tban 20min.


    Code:
    # Shotgun Limit (2 pro Team)    ##########################
    # IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM:        #######
    On Spawn;PlayerFirst; Set %shotgunlimit% 2
    On Say;PlayerFirst; Set %shotgunlimit% 2
    
    # KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE        #######
    On Kill;Damage Shotgun;
        If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Incr %shotgun_warning%; if Incr %shotgun_warning% > 3;TeamSay SHOTGUN-LIMIT: %p% was BANNED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; TempBan 1200 SHOTGUN-LIMIT - type !shotgun to check the shotgun slots before you use a shotgun
        If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Incr %shotgun_warning%; if Incr %shotgun_warning% > 2;TeamSay SHOTGUN-LIMIT: %p% was KICKED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; Kick SHOTGUN-LIMIT - type !shotgun to check the shotgun slots before you use a shotgun
        If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Incr %shotgun_warning%; TeamSay SHOTGUN-LIMIT: %p% was KILLED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; PlayerYell KILLED by shotgun limit - (warining %shotgun_warning%/2); Kill 100
        If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %shotgun_warning% 0; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% have a shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, Knife; PlayerYell YOU HAVE A SHOTGUN SLOT
    
    # MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Knife, Vehicles...)        #######
    On Kill; Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV; ; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost shotgun slot); PlayerYell You lost your shotgun slot
    On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)
    
    # SERVER LEAVE + TEAM SWITCH CHECK        #######
    On Spawn;
        if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
        if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
        if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
        if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)
    
    # !shotgun IN-GAME-CHAT COMMAND        #######
    On Say;Text !shotgun; TeamSay SHOTGUN-LIMIT: Shotguns are limited (max %shotgunlimit% shotguns each team).; TeamSay SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay SHOTGUN-LIMIT: You have a shotgun slot! Allowed weapons: Shotgun, Pistol, Nades, Knife

  3. #13
    Hi can you edit this code for 2 map
    locker+metro
    but without kick or ban

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •