Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

Advanced Anti-Camp


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Advanced Anti-Camp

This plugin is an improved version of Franc1sco's anticamp plugin.

It was only tested on CS:GO.

Description
Admins can define areas, where, if a player spends more than x minutes in it, he will get slapped until he leaves the area.
Admins can decide how much slap damage will be inflicted, how long the player can stay in the areas, and more.


Installation
This plugin requires Sourcmod and Metamod.
Grab the latest release from the release page and unzip it in your csgo folder.
Restart the server or type `sm plugins load advancedanticamp` in the console to load the plugin.
The config file will be automatically generated in cfg/sourcemod/

Configuration
- You can modify the phrases in addons/sourcemod/translations/advancedanticamp.phrases.txt.
- Once the plugin has been loaded, you can modify the cvars in cfg/sourcemod/advancedantiamp.cfg


Usage

Creating zones
Once the plugin has been loaded, admins can type !campzones in chat to open the zone menu. From there you can create a zone by pointing your cursor at where you want to create the zone.

**IMPORTANT** Be sure to save zones both in main menu and the newly created zone meny, otherwise the changes won't be saved!

Editing zones
Once a zone has been created, you can modifiy it my typing !campzones in chat and selecting "Edit Zones" in the menu.

Restrict zones
If don't want CT to camp in a zone, inclue "AnticampCT" in the name of the zone.
For T, use "AnticampT".
For Both teams, use "AnticampBoth"

Troubleshooting
For some reasons, the zones won't rename themselves sometimes, so you have to edit the names manually in addons/sourcemod/configs/devzones/mapname.zones.txt

Contacts
If you have questions, you can add me on Discord: Sarrus#9090

To do
  • Add a Cvar to set slap frequency
  • Do a cooldown system
  • Make zones without having to rename them

Download/Get Source

Credits:
  • Franc1sco for his amazing zone plugin, on which this plugin is heavily based.
  • The Sourmod Discord for their help.

Attached Files
File Type: smx advancedanticamp.smx (579.6 KB)
File Type: sp Get Plugin or Get Source (advancedanticamp.sp - 40.4 KB)
File Type: txt advancedanticamp.phrases.txt (473 Bytes)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...