Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Furien Anti-Camp (1.0.0 - 27.08.2013)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7175
  • Lokalizacja:AMXX.PL
Offline

Napisano 27.08.2013 17:03

Dołączona grafika

.: Description :.

Furien Anti-Camp is specially made for Furien Server as it only checks for CTs. If they don't move from a given radius at a given time they will be punished by loosing money / loosing health and / or it will be added a blast circle and a sound.
You can also enable Anti-C4 Camp, so if CTs stay too long near dropped C4 they will be punished too.

.: Requirements :.

  • A Steam Server
  • (Additonal - Furien V64)
.: Defines :.



PHP Code:


// ===============================================================================
// General
// ===============================================================================

// Time in Seconds how fast the Plugin checks for camping
#define CHECK_FREQ 1.0

// Radius in Units in which the player will be checked for camping in CHECK_FREQ
#define CHECK_RADIUS 400.0

// Time in Seconds how long camping in a area is allowed
#define CAMP_MAX 10.0

// ===============================================================================
// Camping - Punishments
// ===============================================================================

// Comment if you don't want the blast ring around campers
#define CAMPER_BLAST

// Comment if you don't want the camper sound
//#define CAMPER_SOUND

#if defined CAMPER_SOUND

// Sound File for Camper Sound
#define CAMPER_SOUND_FILE "player/heartbeat1.wav"

#endif

// Comment if you don't want the camper losing money
#define CAMPER_MONEY

#if defined CAMPER_MONEY

// Sets the amount of money lost per intervall for being a camper
#define CAMPER_MONEY_AMOUNT 500

#endif

// Comment if you don't want the camper losing health
#define CAMPER_HEALTH

#if defined CAMPER_HEALTH

// Sets the amount of health lost per intervall for being a camper
#define CAMPER_HEALTH_AMOUNT 5

#endif

// Comment if you don't want a chat message for the camper
#define CAMPER_ADVICE

#if defined CAMPER_ADVICE

// Message for Camper
#define CAMPER_MSG "You're camping. You will be punished! Stop camping now!"

#endif

// ===============================================================================
// Anti-C4-Camp
// ===============================================================================

// Comment if you don't want C4 Camping Check
#define CHECK_C4

#if defined CHECK_C4

// Radius in Units in which the player will be check for being around C4
#define C4_RADIUS 300.0

// Message for players that are near C4
#define C4_MESSAGE "You are too near to the C4, you have %1.f to get away from the C4."

// Time in Seconds how long you're allowed to camp at Bomb
#define C4_CAMPTIME 15.0

// ===============================================================================
// Camping - Punishments
// ===============================================================================

// Comment if you don't want the blast ring around campers
#define C4_BLAST

// Comment if you don't want the camper sound
//#define C4_SOUND

#if defined C4_SOUND

// Sound File for Camper Sound
#define C4_SOUND_FILE "player/heartbeat1.wav"

#endif

// Comment if you don't want the camper losing money
#define C4_MONEY

#if defined C4_MONEY

// Sets the amount of money lost per intervall for being a camper
#define C4_MONEY_AMOUNT 500

#endif

// Comment if you don't want the camper losing health
#define C4_HEALTH

#if defined C4_HEALTH

// Sets the amount of health lost per intervall for being a camper
#define C4_HEALTH_AMOUNT 5

#endif

#endif
.: Bugs :.
  • None found yet, if you find one, please report it.
.: Credits :.
  • VEN - CS Bomb Scripting Tutorial



Attached Files Dołączona grafikaGet Plugin or Get Source (furien_anticamp.sma - 12.5 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych