AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [ZR] Class Attribute Anticamp (https://forums.alliedmods.net/showthread.php?t=338453)

000 07-06-2022 19:36

[ZR] Class Attribute Anticamp
 
Description:
Checks each player every x seconds for camping.
If the player is camping, the player gets a slap and/or money taken and will be notified to move.


Requirements:
SourceMod 1.11+
Zombie:Reloaded
[ZR] Tools

Installation:
- Put all files from the package in your game root folder ("csgo", "cstrike", ...).
- Reload map.

If the plugin is not working as intended, check your logs in addons/sourcemod/logs and report here.
If error logs are not available, report nevertheless.

Configuration:
This plugin, unlike plugins usually do, does not use any .cfg files and is purely configurable via playerclasses.txt.
This means you can change values per playerclass.

PHP Code:

"anticamp_time"        "10"    // After X seconds the player is forced to move.
"anticamp_radius"    "60"    // The radius the player must leave.
"anticamp_slapdmg"    "25"    // Amount of damage the player recieves per slap.
"anticamp_money_amount"    "250"    // Amount of money to subtract from player.
"anticamp_with_beam"    "1"    // Has the player a beam each slap? (1: Enabled, 0: Disabled)
"anticamp_with_sound"   "1"    // Does the player hear the famous beep sound? (1: Enabled, 0: Disabled) 

Add these values to all playerclasses you have, anywhere you want and edit them to your needs.
You can find a example playerclass and images in the attachments.

Credits:
- Balde81 who firstly developed Anticamp.
- Stachi who took over Balde81s Anticamp.
- Master whos Anticamp fork is used for this plugin.

Translation:
If you will, and the translation to be used does not exist, you can upload the file in a reply.

Changelog:
Code:

- v1.0
  • Initial release.

- v1.1
  • Polishing.




All times are GMT -4. The time now is 23:13.

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