Round Terminator
- v1.0.1, last updated : 14 apr 2010
Simple and efficient way to force a round to end.
It does not kill players. The way is direct.
All the default win conditions are supported :
The timer has ended ;
A whole team is exterminated ;
An objective has been completed ;
A round draw.
All the default objectives are supported :
Bomb/Defuse ;
Hostage Rescue ;
Vip/Assasination ;
Prison Escape.
A command is provided and can handle also these specific cases :
Maps with multiple objectives ;
Dynamic entities managed by another plugin.
A command is provided to manage easily all the conditions.
A native is provided to be used in others plugins.
People may need to terminate a round automatically, but it would be more appropriate
to let the people integrating the native in their plugins, instead of trying to implement
a feature with conditions since the needs can be very different.
Contents :
Requirements
Command
API Documentation
Installation
Installation Files
Notes
Change Log
Requirements
CS 1.6, CZ.
AMX Mod X 1.8.x or higher.
Orpheu 2.3 and higher.
Steam server.
Command
terminate_round <RoundEndType> [ <TeamWinning> <MapType> ]
The command works with keywords for each fields.
Tip1 : only the first character is checked ( except for timer/team the 2 first ).
Tip2 : typing the command without argument and you will get the command syntax and the arguments list.
RoundEndType
- timer : The timer has ended. The main objectives has not been completed.
- team : A team has been exterminated. You must specify the winning team you want.
- objective : An objective has been completed or not. You must specify the winning team you want.
- draw : To have a round draw.
TeamWinning
- terrorist : Specify the terrorists as winning team of the round.
- ct : Specify the cts as winning team of the round.
It must be used either with "team" or "objectives".
MapType
- auto : Value by default. It will detect the current objective. It will work for custom entities created in game.
- bomb : Specify the type as bomb map without checking.
- hostage : Specify the type as hostage map without checking. Only for cts.
- vip : Specify the type as vip map without checking. Will work only if there is a VIP in game.
- escape : Specify the type as escape map without checking.
Optional. If you specify a type and the entity is not present, nothing will happen.
Useful for maps with multiple objectives.
To avoid further questions, here all the possibilities of this command :
Time is up / round draw.
terminate_round timer
terminate_round draw
One of the team has been exterminated.
terminate_round team terrorist
terminate_round team ct
The current map objective of the team has been completed.
terminate_round objective terrorist
terminate_round objective ct
The provided map objective of the team has been completed. (will work only if the related entity is present)
terminate_round objective terrorist vip
terminate_round objective terrorist hostage
terminate_round objective terrorist escape
terminate_round objective ct vip
terminate_round objective ct bomb
terminate_round objective ct hostage
terminate_round objective ct escape
API Documentation
TerminateRound( const roundEndType, const teamWinning = TeamWinning_None, const mapType = MapType_AutoDetect );
A native is provided to be used in others plugin.
To avoid further questions, here all the possibilities of this native :
Time is up / round draw.
TerminateRound( RoundEndType_Timer );
TerminateRound( RoundEndType_Draw );
One of the team has been exterminated.
TerminateRound( RoundEndType_TeamExtermination, TeamWinning_Terrorist );
TerminateRound( RoundEndType_TeamExtermination, TeamWinning_Ct );
The current map objective of the team has been completed.
TerminateRound( RoundEndType_Objective, TeamWinning_Terrorist );
TerminateRound( RoundEndType_Objective, TeamWinning_Ct );
The provided map objective of the team has been completed. (will work only if the related entity is present)
TerminateRound( RoundEndType_Objective, TeamWinning_Terrorist, MapType_VipAssasination );
TerminateRound( RoundEndType_Objective, TeamWinning_Terrorist, MapType_Hostage );
TerminateRound( RoundEndType_Objective, TeamWinning_Terrorist, MapType_PrisonEscape );
TerminateRound( RoundEndType_Objective, TeamWinning_Ct, MapType_VipAssasination );
TerminateRound( RoundEndType_Objective, TeamWinning_Ct, MapType_Bomb );
TerminateRound( RoundEndType_Objective, TeamWinning_Ct, MapType_Hostage );
TerminateRound( RoundEndType_Objective, TeamWinning_Ct, MapType_PrisonEscape );
Installation
1. Firstly, you need Orpheu. You have just to unzip the content of orpheu_base.zip in ./amxmodx/ ;
2. Then unzip the content of the provided archive here in ./amxmodx/ ;
3. Install the plugin*, restart and it's ready.
* You need to compile locally the plugin or using this webcompiler since it uses third party includes from Orpheu and my plugin.
If you don't know how to compile locally on windows :
Download AMX Mod X Base for windows on the main site ;
Unzip the package somewhere in a folder ;
From the orpheu_base.zip package you have downloaded just before, copy the include files located in ./scripting/include/ to the folder created in 2. in ./addons/amxmodx/scripting/include/ ;
Download round_terminator.inc and copy it to ./addons/amxmodx/scripting/include/ too ;
Download round_terminator.sma and copy it in ./addons/amxmodx/scripting/ ;
Now go to ./addons/amxmodx/scripting/ and drag and drop round_terminator.sma on compile.exe ;
You will see a new folder named "compiled" which is automatically created. It contains round_terminator.amxx ;
Congratulations, you have your compiled plugin, you can install it on your server. Restart and it's ready.
.zip
plugin
source
Round Terminator
Jump to
- Inregistreaza-te pe Zonek Telecom ca sa vezi toate Subiectele
- -->>Regulile Forumului & Descriere<<--
- ↳ Regulament Forum
- ↳ Prezentare
- ↳ Cereri Parteneriate
- ↳ Intri si tu in reteaua zonek??
- ↳ Sugestiile voastre
- ↳ Raportare bug-uri/probleme forum
- -->>Mica Publicitate & Reclama<<--
- ↳ Reclama diverse siteuri & servere de Counter-Strike
- ↳ Vand
- ↳ Cumpar
- -->>Servere Comunitare NON-STOP<<--
- ↳ Discord Server Zonek Telecom
- ↳ GO.ZONEK.RO
- ↳ ARENA.ZONEK.RO
- ↳ AWP.ZONEK.RO
- ↳ Bucuresti Create Server
- ↳ Evidenta redirect
- ↳ Clan TAG
- zonek.ro - Counter Strike Global Offensive
- ↳ SourceMod Plugins
- ↳ Admin Commands
- ↳ Fun Stuff
- ↳ Gameplay
- ↳ General Purpose
- ↳ Server Management
- ↳ Statistical
- ↳ Technical/Development
- ↳ Tutoriale
- ↳ Probleme la servere si Jocul Counter-Strike: Global Offensive
- -->>Jocuri & Resurse Counter Strike<<--
- ↳ Tutoriale cs 1.6- Server
- ↳ Tutoriale Moduri Counter - Strike [NOU]
- ↳ Tutoriale cs - Install Counter-Strike & HLDS
- ↳ Scripting
- ↳ Mapping / Harti
- ↳ Cereri Tutoriale
- ↳ Download pluginuri
- ↳ Discutii legate de plugin-uri - Cereri Plugin-uri
- ↳ Download zone
- ↳ AdminMod
- ↳ AmxModX
- ↳ Admin Commands
- ↳ General Purpose
- ↳ Statistical
- ↳ Gameplay
- ↳ Event Related
- ↳ Server Management
- ↳ Fun Stuff
- ↳ Technical/Development
- ↳ AmxMod
- ↳ Addons-uri Counter Strike
- ↳ Addonsuri AmxModX
- ↳ Addonsuri AdminMod
- ↳ Addonsuri AmxMod
- ↳ Cereri addonsuri
- ↳ Probleme tehnice
- ↳ HLDS
- ↳ Client 1.6
- ↳ Alte jocuri
- -->>Diverse<<--
- ↳ Discutii diverse
- ↳ Realitatea Baptista Castellon
- ↳ Arta
- ↳ Studentie
- ↳ Auto / Moto
- ↳ Fashion
- ↳ Sanatate
- -->> San Andreas Multi Player <<--
- ↳ Discutii Scripting
- ↳ Probleme GodFather
- ↳ Tutoriale
- ↳ Cerere Tutoriale
- ↳ Salonul Scripturilor
- ↳ Plugins
- ↳ Maps
- ↳ Gamemode
- ↳ FilterScript
- ↳ News Development
- ↳ Ajutor Servere
- -->> Photoshop <<--
- ↳ Photoshop
- ↳ Creatii
- ↳ Gifts
- ↳ Graphic Battle
- ↳ Tutoriale
- ↳ Competitii: - SOTW
- ↳ Resurse
- ↳ Ripperi
- ↳ Cereri Photoshop
- ↳ Da LIKE pe FaceBook si castigi 10 euro saptamanal!!
- -->>Filme & Muzica<<--
- ↳ Filme
- ↳ Muzica
- -->>Minunile Lumii Antince<<--
- ↳ Cele 7 Minuni ale Lumii
- ↳ Minuni uitate ale Lumii Antice
- -->>LOVE & SEX<<--
- ↳ Love & Sex
- ↳ Contraceptia
- ↳ Dragostea
- -->>Hubul dc.zonek.ro al serverelor de Counter-Strike<<--
- ↳ Totul despre hubul dc.zonek.ro
- -->>Culturi si Mistere<<--
- ↳ Culturi ascunse, mistere si fapte inexplicabile
- ↳ Magie
- ↳ Lumea Viselor
- -->>|Messenger| & Curiozitatii<<--
- ↳ <|Mesaje tampite care se dau pe mess|>
- ↳ Intrebari fara raspuns
- ↳ Stiati ca ?
- ↳ Pentru cei nemultumiti
- Manage Holidays/Sarbatori si Zile Onomastice
- ↳ Manage Holidays / Sarbatori si Zile Onomastice
- Recycle Bin
- ↳ Recycle Bin
- ↳ HaoS.ZoneK.Ro [ Public Server ]
- ↳ Regulament
- ↳ Anunturi
- ↳ Cafenea Admini
- ↳ Staff
- ↳ Cerere Admin
- ↳ Cerere Slot
- ↳ Cerere UnBan
- ↳ Reclamatie Admini
- ↳ Lista Banuri
- ↳ Redirecte
- ↳ djs.zonek.ro
- ↳ Regulament
- ↳ Cereri admin / slot pe djs.zonek.ro
- ↳ Cerere UnBan
- ↳ Reclamatii admini / playeri
- ↳ Campionat 2 vs 2
- ↳ Discutii Libere
- ↳ Clanu Dj's
- ↳ Ballas
- ↳ Nortenos
- ↳ Surenos
- ↳ Taxele serverului
- ↳ Vanzari - Cumparari
- ↳ Afaceri
- ↳ Servicii
- ↳ Case
- ↳ Politia Romana
- ↳ Discutii generale despre factiuni
- ↳ Pompieri si Medici
- ↳ Serviciul Roman de informatii
- ↳ Armata Romana
- ↳ Clanul Frusin
- ↳ Clanul Racean
- ↳ Guvernator San Andreas
- ↳ Asasini Platiti
- ↳ Reporteri ProTV
- ↳ Transport Company
- ↳ Instructori
- ↳ Clanul Camataru
- ↳ Job-uri secundare
- ↳ Tow Car Company
- ↳ Tutoriale GTA SA:MP
- ↳ freerunners.zonek.ro
- ↳ Admins only
- ↳ Regulament
- ↳ Anunturi
- ↳ Donatii
- ↳ Echipa nord
- ↳ Cereri admin/slot
- ↳ Cereri unban
- ↳ De ce am dat ban
- ↳ Cine face abuz de admin
- ↳ Discutii libere
- ↳ Evidenta redirecte
- ↳ Ghenaaaaaa.....!!!
- ↳ Grove Street
- ↳ Ballas Family
- ↳ Mayor
- ↳ The Triads
- ↳ The Mafia
- ↳ Varios Los Aztecas
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ News Reporter
- ↳ Taxi Company
- ↳ National Guard
- ↳ Police Departament
- ↳ Federal Bureau of Investigaton
- ↳ Medics
- ↳ Hitman Agency
- ↳ furien.zonek.ro
- ↳ Regulament Server
- ↳ Anunturi
- ↳ Cerere Admin / Slot
- ↳ Cerere UnBan
- ↳ Cerere Ban
- ↳ Reclamatii
- ↳ Echipa furien.zonek.ro
- ↳ Mariri / degradari
- ↳ Redirecte
- ↳ Discutii Generale
- ↳ Download Redirecte
- ↳ FAN.ZONEK.RO # Fan Curier Server
- ↳ intrudersWOW - www.zonek.ro
- ↳ Announcements / Server info
- ↳ International Zone
- ↳ Romanian
- ↳ German
- ↳ English
- ↳ Requests
- ↳ Ban \ Mute Request
- ↳ Unban / Unmute requests
- ↳ Bug Report
- ↳ Items
- ↳ Other
- ↳ Fixed bugs
- ↳ General Discussion
- ↳ Ze.Zonek.Ro # Intruders Zombie
- ↳ Stream name: ...::: CooLFM :::... - Cel mai tare Radio
- ↳ I'm in love!
- ↳ Request
- ↳ Events - Radio CooLFM
- ↳ Cautam Dj`eitze si DJ-eii
- ↳ Personal Top Ten (?)
- ↳ Zonek SA:MP Official Server
- ↳ Informatii
- ↳ Sugestii
- ↳ Update's
- ↳ Factiuni
- ↳ Police Depatament
- ↳ Federal Bureau of Investigations
- ↳ National Guard
- ↳ Fireman/Paramedics
- ↳ The Mafia
- ↳ The Triads
- ↳ The Mayor
- ↳ Hitman Agency
- ↳ News Reporter
- ↳ Taxi Company
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ Varios Los Aztecas
- ↳ Ballas
- ↳ Grove Street
- ↳ NFS Club
- ↳ NRG Club
- ↳ Plangeri
- ↳ Admin's Zone
- ↳ Diverse
- ↳ Buguri
- ↳ Statistici WEB
- ↳ LIGHT.ZONEK.RO | Anti-Cheat | Skins |
- ↳ DM.ZONEK.RO
- ↳ WAR3.ZONEK.RO
- ↳ ELITE.ZONEK.RO