Skocz do zawartości

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

[forums.alliedmods.net] [TF2][Arena/VSH](Vote) SlayCap v0.8


  • 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:7 469
  • Lokalizacja:AMXX.PL
Offline

Napisano 03.04.2012 01:30

Every had someone cap on an arena or VSH server you are on, and there was no reason for it? Well this is the plugin for you.

This simple plugin detects when someone caps and then responds with a vote the next round. If the players deem the capture unjustified, they are slayed that round. I added some natives so if you have a plugin or you would like to edit one to conform to this one, you are able to. I am relatively new to Sourcepawn, only been coding for about less than 2 weeks. Any tips would be appreciated. I couldn't get the capture events to work correctly, so I had to more or less, make my own. If anyone knows how I can fix this, please tell me.

[INFO]

Updates coming soon!

CVars:
sm_slay_cap_enabled (def: 1)

Includes:
#include slaycap

Natives:
bool SlayCapVoteStarting()
bool SlayCapVoteInProgress()

Changelog:


Quote: [4/2/12] SlayCap 0.8 public released
Refined code.
Refined checking system.
Fixed slay bug.
Fixed bug where players would be added but not removed.
Changed chat to all.
Changed array to bool values.
Made vote only available to those who did not cap.
Added chat notifications.
Added CVar for easily enabling/disabling.
Added natives.
Added notes for editors/new "modders".

[4/1/12] SlayCap alpha created.
Added custom vote system.
Added hooks necessary for plugin.
Created rough plugin code.

Attached Files Dołączona grafika slaycap.zip (11.3 KB)

Wyświetl pełny artykuł




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

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