Advanced Anti-Camp

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Advanced Anti-Camp

Post by greenie »

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

download
Post Reply

Return to “Gameplay”