Results 1 to 10 of 10
  1. #1

    Cool Request: Insane Limits - Limit Vehicles on Small Teams

    Hi,

    I have a request for making a Insane Limits - Limit Vehicles on Small Teams Script
    From scratch i make the code below for ProconRulz. It works for so far, the player get killed when he killed someone.
    But...When the server has reached the max players like 19 it still counts as a small team. The code dont stop!

    So my request was insane limits would that be better and more stable?
    I only want to prevent making kills with attack heli (CN)(US) Siege Map limit until 18 active players

    Thanks for all of your support!

    --------------------------------------------------------------------------------
    #### LIMIT VEHICLES ON SMALL TEAMS
    On Kill; Damage VehicleAir; Incr %viperkill%; Teamsize 18
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 1;Say !!! WARNING !!! %p%, Attack Helicopter Kills not allowed with Small Teams until 18 active players (#%c%/10); PlayerYell !!! WARNING !!! %p%, Attack Helicopter Kills not allowed with Small Teams until 18 active players (#%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 3;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 6;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 9;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 11;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 13;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 18; If %viperkill% == 15;Say %p% KICKED for Attack Helicopter Kills with Small Teams.;Kick for Attack Helicopter Kills with Small Teams.
    # .

  2. #2
    Im not sure about how this rule serves as in your server. You want to forbid heli kills if total players are under 19 or forbid a team from using heli if that team is under 19 players?

  3. #3
    Thats Correct BuRockK, I want to fobid attack heli kills on small teams under 19 players. There must 18 active players on the server before the attack heli kills can started.

  4. #4
    Okay heres where the problem is with your request. You say you want at least 19 players on one team for players to be able to use heli kills. So if any team has 18 or less players, that team is forbid from using heli.

    But heres where i got confused. In your code you have a player msg that says sides have to be 9v9. That means you just want total player number to be over 18 players and not on teams individually

    So, i need to be sure of what you need.

    Total player number needs to be 19+ ?
    or
    The team of player that kills with heli needs to have 19+ ?

    EDIT: Also, i think theres a math problem with your request. You cant forbid a heli kill for less then 19 players in total and then player msg them teams has to be 9v9

    Ill do my best to fix your code
    Last edited by BuRockK; 04-11-2016 at 08:44.

  5. #5
    There must 18 (9vs9) active players on the server, then the players can use the attack heli and make kills. When there is no 18 players is no attack heli kills on small teams. It would be also nice and i dont know if this is possible when there spawn on the attack heli get killed in action with a message. If this is not possible then is no kills until 18 active players on the server.

  6. #6
    You cant kill when someone has spawned in heli with ProconRulz. You can use Loadout Enforcer plugin for forbidding weapons and vehicles(some vehicles i think) on spawn.


    Here, try this:

    Code:
    #### LIMIT VEHICLES ON SMALL TEAMS
    On Kill; Damage VehicleAir; if %ts1% + %ts2% >= 18; Set %viperkill% 0
    
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; Incr %viperkill%
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 1;Say !!! WARNING !!! %p%, Attack Helicopter Kills not allowed with Small Teams until 18 active players (#%c%/10); PlayerYell !!! WARNING !!! %p%, Attack Helicopter Kills not allowed with Small Teams until 18 active players (#%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 3;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 6;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 9;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 11;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 13;PlayerSay !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10);Kill 100 PlayerYell !!! WARNING !!! %p% No Attack Helicopter Kills until Sides are 9 vs 9 (%c%/10)
    On Kill; Damage VehicleAir; Teamsize 8;if %ts1% + %ts2% < 18; If %viperkill% == 15;Say %p% KICKED for Attack Helicopter Kills with Small Teams.;Kick for Attack Helicopter Kills with Small Teams.
    This code will kill any player who kills with heli if that players team has less then 9 players and the total number of players in server is under 19.

    I also added so that viperkills variable resets to 0 when total players are over 17. This way when total player number goes down again, it will start over and warn first instead of start kicking people right away.
    Last edited by BuRockK; 04-11-2016 at 09:14. Reason: Added var reset code

  7. #7
    Thanks BuRockK, i go to test it.
    Many thanks for your support! Realy appriciate it

    #thumbsup

  8. #8
    Sure no problem. I hope thisis what u meant. If theres any error or something doesnt work, repeat what you did when you get that error but only after you change "Trace Rules" option in ProconRulz settings to "Yes". So you can copy paste the errors you might get in Procon plugin console here

  9. #9
    Hi BuRockK,

    I have test the script and it's perfect. No errors found and the script stops untill 18/19 players.
    The script is 100% waterproof and 100% complete tested!

    Thanks

  10. #10
    youre welcome

 

 

Posting Permissions

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