Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 12/20/24 in all areas

  1. This limit will check for how many times a player kills with flare. On the first kill, it will send a warning on chat, on the second kill, it will kick the player. Set limit to evaluate OnKill, set action to None Set first_check to this Expression: Code: ! Regex.Match(kill.Weapon, @"(U_Handflare)", RegexOptions.IgnoreCase).Success Set second_check to this Code: Code: double count = limit.Activations(player.Name); if (count == 1) plugin.SendGlobalMessage(plugin.R("%p_n%, flares not allowed on this server, do not use %w_n% again! Next time kick")); else if (count > 1) plugin.KickPlayerWithMessage(player.Name, plugin.R("%p_n%, kicked you for using %w_n% ")); return false;
    1 point
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.