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?
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.
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?
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.
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.
So, i need to be sure of what you need.
Total player number needs to be 19+ ?
The team of player that kills with heli needs to have 19+ ?
Last edited by BuRockK; 04-11-2016 at 07:44.
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.
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.
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.
Thanks BuRockK, i go to test it.
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!