Raised This Month: $32 Target: $400
 8% 

FreeKill Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related       
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-12-2013 , 07:20   FreeKill Manager
Reply With Quote #1

FreeKill Manager
v1.0.1
By Blizzard_87

ThreadStart
Description
FreeKill Manager is an extract from my JailBreak Storm Mod.

This plugin Automaticly manages guards who freekill prisoners.
when ever a guard kills certain amount of prisoners in a set amount of time will auto be set as a freekiller
and slayed and moved to prisoner team, by default they will not be able to join guard team for X amount of rounds.

punishment modes.
0 - move to prisoner and blocked from joining guards X amount rounds
1 - move to prisoner and banned from joining guards
2 - banned from joining guards and kicked from server upon freekilling.

Admin Commands
say /fkm
opens up list of currently connected players who are freekillers
allows you to dismiss there title and takes away there freekiller status.

Cvars
fkm_punishment "0"
// 0 - switch to Terrorist + block | 1 - switch + ban from ct | 2 - ban + kick
fkm_rounds_ct_blocked "5"
// if punishment is ban from ct, this is how many round they are blocked from joining
fkm_checktimer "2.0"
// How Many Seconds To Check For Multiple Kills
fkm_freekills "5"
// Amount Of Kills Allowed Before Considered FreeKiller
fkm_forceteamjoin "t" or "any"
// Force Humans To Join Team

ChangeLog
- v1.0.1 - added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.

- v1.0.0 - Inital Release.

ThreadEnd
.
Attached Files
File Type: sma Get Plugin or Get Source (FKM-101.sma - 996 views - 12.5 KB)
__________________

Last edited by Blizzard_87; 04-25-2015 at 13:12.
Blizzard_87 is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-12-2013 , 07:36   Re: FreeKill Manager
Reply With Quote #2

good work!

what if there was 2 ct players, and 30 terrorist.

all of them attacked him at once and he killed all ! Free Ban

If the 1st time he doesnt added to the list of freekillers, then all terrorists will co-operate and attack him at once for 2-3-4-5 rounds

Last edited by sami_spt; 08-12-2013 at 07:37.
sami_spt is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-12-2013 , 07:48   Re: FreeKill Manager
Reply With Quote #3

Quote:
Originally Posted by sami_spt View Post
good work!

what if there was 2 ct players, and 30 terrorist.

all of them attacked him at once and he killed all ! Free Ban

If the 1st time he doesnt added to the list of freekillers, then all terrorists will co-operate and attack him at once for 2-3-4-5 rounds
thanks.

there would be one way.. is if he attacked Rebels then it could cancel out the task.. which would stop the guard from becoming a freekiller...

but that means i would have to add a MINI Rebel addon to this... unless i used API...
__________________

Last edited by Blizzard_87; 08-12-2013 at 07:50.
Blizzard_87 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 08-12-2013 , 07:56   Re: FreeKill Manager
Reply With Quote #4

And dont regist cvars like that...
I think if you want use like that, make it load a cfg file with cvars. Yes, is possible to add it in others files but some people dont know how so is better you load from cfg file ;)
__________________
Jhob94 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-12-2013 , 08:01   Re: FreeKill Manager
Reply With Quote #5

Updated Version 1.0.1

added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.
__________________
Blizzard_87 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-12-2013 , 10:12   Re: FreeKill Manager
Reply With Quote #6

Quote:
Originally Posted by Jhob94 View Post
And dont regist cvars like that...
I think if you want use like that, make it load a cfg file with cvars. Yes, is possible to add it in others files but some people dont know how so is better you load from cfg file ;)
What is wrong with the way he is registering the cvars? It looks fine to me, I see no errors or issues.


Quote:
Originally Posted by Blizzard_87 View Post
Updated Version 1.0.1

added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.
Either remove the old versions or specify what each file is for
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 08-12-2013 , 13:45   Re: FreeKill Manager
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
What is wrong with the way he is registering the cvars? It looks fine to me, I see no errors or issues.
I know. What i meant was that it would be more easy for begginers know changing the cvars...
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-12-2013 , 14:47   Re: FreeKill Manager
Reply With Quote #8

Quote:
Originally Posted by Jhob94 View Post
I know. What i meant was that it would be more easy for begginers know changing the cvars...
My experience shows that beginners are changing the cvar values with config files, not by editing the plugin. So it shouldn't make any difference
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 08-12-2013 , 15:00   Re: FreeKill Manager
Reply With Quote #9

My experience shows that beginners doesnt even knows that can make cvars in config files.
What now? Make pool thread?
Dont need. You are correct. (Or not)
__________________
Jhob94 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-12-2013 , 15:20   Re: FreeKill Manager
Reply With Quote #10

Quote:
Originally Posted by YamiKaitou View Post
Either remove the old versions or specify what each file is for
Done.
__________________
Blizzard_87 is offline
Old 08-13-2013, 00:00
UchihaSkills
This message has been deleted by UchihaSkills.
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode