Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
 
 
Search Scripts:           Advanced
 
 
 
Anti Team Flash System-By 2KB
Added by...
Author(s): Ironmad
Category: CS:S > Action Scripts
Notes/Usage Instructions:

Ok, here's a little movie on how it works ^^




Updates:

Medda_ATFS V3.5 (ASFS) Included
Try Break This One!!! Muhahahahaha
You can be wrongly executed, but it can only happen, if you teamflash a teammate (not yourself).
This version is the first one I have totally rewrote to increase speed and performance.
Tbh is this my first script which is totally rewritten to kick ass
Performance ftw!

Requires
Mattie Eventscripts Latest

Features
This will make the Teamflasher slayed or just public known if the
teamflashed teammate dies within X seconds.

The ASFS, will make the teamflasher slayed or just publoc known if he
teamflashes more than X teammates at the same time.

Installing This Script
This script is simply installed as all other new scripts,
Simply make a folder in your cstrike/addons/eventscripts that is named:
medda_atfs
In that folder you make a txt.document called
es_medda_atfs
Then you hit the download in this topic.
Copy the text and put it in your new created es_medda_atfs.txt.
After that you add this line in your autoexec:
es_load medda_atfs


// Medda's Anti-Team-Flash-System (ATFS) V3.5 (ASFS) Included
// Written by Medda.
// This Script Requires Mattie EventScripts Latest.
//
// Background: Thanks to Wonder and Venjax for providing me with handy info in the forums!
// Ironmad for being my first try-rabbit! :)
// And JCap334 who've provided me with good feedback of earlier versions!
//
Script Code:
__________________________________________________________________________
block load
{
// #EDIT FOLLOWING TO YOUR LIKINGS:
//
// #SET ATFS ACTIVATED TIME:
// Set the time for how long the ATFS shall be activated after a teamflash.
// Like if set to X seconds, the teamflasher gets slayed-
// If the teamflashed gets killed within the X seconds.
// As you can see below the default is set to 5 seconds.
es_xsetinfo atfs_length 5
//
// #SET TEAMFLASHER PUNISHMENT:
// Set this to 1 to both kill and show a server-message about the teamflasher.
// Set this to 0 to only show a server-message about the teamflasher.
// Default is set to 1.
es_xsetinfo atfs_kill 1
//
// #SET ANNOUNCEMENT SETTINGS:
// Set this to 1 if you want the ATFS announcement to
// show in the beginning of each round.
// Set to 0 if you don't want any announcment.
// Default is set to 1.
es_xsetinfo atfs_announcement 1
//
// #SET THIS TO FIND THE SPAWN/IDIOT FLASHER
// Set this to the number of teammates a teamflasher will get
// slayed or only public known for, if he teamflashes X or more teammates (including hims/her self)...
// Setting this to 0 will slay or make the teamflasher public known everytime he/she teamflashes a teammate or him/her self.
es_xsetinfo asfs_idiotflashes_allowed 4
//
// #SET SPAWNFLASHER PUNISHMENT:
// Set this to 1 to both kill and show a server-message about the spawnflasher.
// Set this to 0 to only show a server-message about the spawnflasher.
// Default is set to 1.
es_xsetinfo asfs_kill 1
//
// #DO NOT EDIT ANYTHING BELOW THIS LINE:
//__________________________________________________________________________
es_xkeygroupcreate atfs_ts
es_xkeygroupcreate atfs_cts
es_xkeygroupcreate asfs_ts
es_xkeygroupcreate asfs_cts
es_xsetinfo atfs_last_flashed 0
es_xsetinfo atfs_last_flashed_team 0
es_xsetinfo atfs_set_flasher 0
es_xsetinfo atfs_asfs_counter 0
es_xsetinfo atfs_flash_killer 0
es_xsetinfo atfs_killer 0
es_xsetinfo atfs_killer_name 0
es_xsetinfo atfs_killer_team 0
es_xsetinfo atfs_victim 0
es_xsetinfo atfs_victim_name 0
es_xsetinfo atfs_victim_team 0
es_xsetinfo asfs_idiot_count 0
es_xsetinfo asfs_idiot_name 0
es_xmsg #green Medda_ATFS Loaded
}
//__________________________________________________________________________
block unload
{
es_xkeygroupdelete atfs_ts
es_xkeygroupdelete atfs_cts
es_xkeygroupdelete asfs_ts
es_xkeygroupdelete asfs_cts
es_xmsg #green Medda_ATFS Unloaded
}
//__________________________________________________________________________
event round_start
{
es es_xif (server_var(atfs_announcement) == 1) do
{
es_xdelayed 15 es_xmsg #green This Server Is Protected By Medda_ATFS V3.5 (ASFS) Included!
}
}
//__________________________________________________________________________
event player_blind
{
es es_xsetinfo atfs_last_flashed event_var(userid)
es es_xsetinfo atfs_last_flashed_team event_var(es_userteam)
es es_xif (event_var(es_userteam) = 2) do
{
es es_xkeycreate atfs_ts event_var(es_username)
es es_xkeycreate asfs_ts event_var(es_username)
es es_xkeysetvalue atfs_ts event_var(es_username) teamflashed_user event_var(userid)
es es_xdelayed 0.01 es_xkeydelete asfs_ts event_var(es_username)
es es_xdelayed server_var(atfs_length) es_xkeydelete atfs_ts event_var(es_username)
}
es_xelse do
{
es es_xkeycreate atfs_cts event_var(es_username)
es es_xkeycreate asfs_cts event_var(es_username)
es es_xkeysetvalue atfs_cts event_var(es_username) teamflashed_user event_var(userid)
es es_xdelayed 0.01 es_xkeydelete asfs_cts event_var(es_username)
es es_xdelayed server_var(atfs_length) es_xkeydelete atfs_cts event_var(es_username)
}
es_xdelayed 0.01 es_xsetinfo atfs_last_flashed_team 0
}
//__________________________________________________________________________
event flashbang_detonate
{
es es_xif (server_var(atfs_last_flashed_team) = event_var(es_userteam)) do
{
es es_xsetinfo asfs_flasher event_var(userid)
es_xsetinfo asfs_idiot_count 0
es es_xif (event_var(es_userteam) = 2) do
{
es es_xif (server_var(atfs_last_flashed) != event_var(userid)) then es_xforeachkey atfs_set_flasher in atfs_ts "es_keysetvalue atfs_ts server_var(atfs_set_flasher) teamflasher event_var(userid)"
es es_xforeachkey atfs_asfs_counter in asfs_ts "es_math asfs_idiot_count + 1"
es_xdelayed 0.01 es_xdoblock medda_atfs/asfs_result
}
es_xelse do
{
es es_xif (server_var(atfs_last_flashed) != event_var(userid)) then es_xforeachkey atfs_set_flasher in atfs_cts "es_keysetvalue atfs_cts server_var(atfs_set_flasher) teamflasher event_var(userid)"
es es_xforeachkey atfs_asfs_counter in asfs_cts "es es_xmath asfs_idiot_count + 1"
es_xdelayed 0.01 es_xdoblock medda_atfs/asfs_result
}
}
}
//__________________________________________________________________________
block asfs_result
{
es es_xif (server_var(asfs_idiot_count) >= server_var(asfs_idiotflashes_allowed)) do
{
es es_xgetplayername asfs_idiot_name server_var(asfs_flasher)
es es_xif (server_var(asfs_kill) = 1) do
{
es es_xsexec server_var(asfs_flasher) kill
es es_xmsg #multi #lightgreen server_var(asfs_idiot_name)#green Was Slayed For Teamflashing server_var(asfs_idiot_count) Teammates At The Same Time!
}
es_xelse do
{
es es_xmsg #multi #lightgreen server_var(asfs_idiot_name)#green Teamflashed server_var(asfs_idiot_count) Teammates At The Same Time!
}
}
}
//__________________________________________________________________________
event player_death
{
es es_xif (event_var(es_userteam) = 2) do
{
es es_xexists atfs_flash_killer key atfs_ts event_var(es_username)
es es_xif (server_var(atfs_flash_killer) = 1) do
{
es_xdoblock medda_atfs/save_info
es_xdelayed 0.1 es_xdoblock medda_atfs/atfs_result
}
}
es_xelse do
{
es es_xexists atfs_flash_killer key atfs_cts event_var(es_username)
es es_xif (server_var(atfs_flash_killer) = 1) do
{
es_xdoblock medda_atfs/save_info
es_xdelayed 0.1 es_xdoblock medda_atfs/atfs_result
}
}
}
//__________________________________________________________________________
block save_info
{
es es_xif (event_var(es_userteam) = 2) do
{
es es_xkeygetvalue atfs_killer atfs_ts event_var(es_username) teamflasher
es es_xgetplayername atfs_killer_name server_var(atfs_killer)
es es_xgetplayerteam atfs_killer_team server_var(atfs_killer)
es es_xkeygetvalue atfs_victim atfs_ts event_var(es_username) teamflashed_user
es es_xgetplayername atfs_victim_name server_var(atfs_victim)
es es_xgetplayerteam atfs_victim_team server_var(atfs_victim)
}
es_xelse do
{
es es_xkeygetvalue atfs_killer atfs_cts event_var(es_username) teamflasher
es es_xgetplayername atfs_killer_name server_var(atfs_killer)
es es_xgetplayerteam atfs_killer_team server_var(atfs_killer)
es es_xkeygetvalue atfs_victim atfs_cts event_var(es_username) teamflashed_user
es es_xgetplayername atfs_victim_name server_var(atfs_victim)
es es_xgetplayerteam atfs_victim_team server_var(atfs_victim)
}
}
//__________________________________________________________________________
block atfs_result
{
es es_xif (server_var(atfs_killer_team) = server_var(atfs_victim_team)) do
{
es es_xif (server_var(atfs_killer_name) != server_var(atfs_victim_name)) do
{
es es_xif (server_var(atfs_kill) = 1) do
{
es es_xsexec server_var(atfs_killer) kill
es es_xmsg #multi #lightgreen server_var(atfs_killer_name)#green Was Slayed For Teamflashing#lightgreen server_var(atfs_victim_name) #greenTo Death!
}
es_xelse do
{
es es_xmsg #multi #lightgreen server_var(atfs_victim_name) #greenWas Teamflshed To Death By#lightgreen server_var(atfs_killer_name)#green!
}
}
}
}
//__________________________________________________________________________
Added: 2 years ago
Submitter Identity
Ironmad .
Eat Pizza
Script Stats
Statistics on script submissions by Ironmad .
Submissions: 11
    Independent: 11
    Studio: 0
    Redistributions: 11
Total Views: 41,365
Total Feedback: 28 posts
Average Rating: 8.467/10
Unrated Scripts: 8
Total Favs: 7
First Submission: 2 years ago
Latest Submission: 2 years ago
Favorite Category: CS:S > Action Scripts (8 releases)
Assessment
The community's verdict.
6/10
Usefulness
6
Elegance
6
Performance
6
Stamps
This script in a nutshell...
Detailed & Handy
Assess Script
Scripts are community moderated.
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamp Script
How would you describe this script in a few words?
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Statistics
This script's scores and traffic.
Rating: 8.4/10
Skill Band: Intermediate (7.5 to 8.9)
Assessments: 13
Views: 23,879
Favorites: 6
Feedback: 22
New Scripts: Action Scripts
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Feedback
Provide constructive feedback. What is "constructive"?
Page of 3   1 2 3 Next Page
Ironmad .
Eat Pizza | Y2M
Posted 10 days ago
Posted by hit-and-run

It only Kill your self .S


No it doesnt, learn how to click and use things
hit-and-run .
Bananite | Y2M
Posted 12 days ago
It only Kill your self .S
- Bananite
behrentzs .
Bananite | Y2M
Posted 3 months ago
Omg, nice work :D
Assessment: [+] Approved - 10
- Bananite
nikeee13 .
dRunKenTeDDy | Y2M
Posted 4 months ago
This eventscriptscript is good and works good.
Ironmad .
Eat Pizza | Y2M
Posted 4 months ago
Posted by The Original Ciggy

How exactly goes it slay the team flasher? Wouldn't you need admin powers for that?


no
The Original Ciggy .
Download before you judge. | Y2M
Posted 4 months ago
How exactly goes it slay the team flasher? Wouldn't you need admin powers for that?
- Download before you judge.
Ironmad .
Eat Pizza | Y2M
Posted 8 months ago
Posted by ARCHDELUXE

Pros: I hate teamflashers, and so they must die!
Cons: needs a better tut to go with for that not so savy gamer
Improvements: spelling
Notes: great idea, good execution


If people dont understand how to paste it they just need to go to the tut section in fpsbanana. And hey, its not a idea, its a perfect living script ^^

We have tested everything in it, ther's no buggs anymore, and after that we fixed it so it works faster (easier for a slow computer)...and the spelling...well, we're from Sweden, so we dont care ^^
ARCHDELUXE .
Apprentice of the Arts | Y2M
Posted 8 months ago
Pros: I hate teamflashers, and so they must die!
Cons: needs a better tut to go with for that not so savy gamer
Improvements: spelling
Notes: great idea, good execution
Assessment: [+] Approved - 7
JvC_JoHn .
Bananite | Y2M
Posted 1 year ago
Strat copy from the first //
- Bananite
Mischa .
Bananite | Y2M
Posted 1 year ago
What i must to copy
- Bananite
Page of 3   1 2 3 Next Page
Add Message
You must login or register to access this!