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] Miniduels!


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

Napisano 24.01.2012 22:38


Mini Duels System!



Dołączona grafika


Description

  • Based in TF2 , allows the player to challenge another player to a duel.
  • The plugin contain stats and top15 ( In the stats you can see the last day when you play duel , the last guy who you played in the last duel , if you win the last duel , etc )
  • You can look the player who are you dueling with the glow declared in cvar ( only you can see )

Commands

  • /duel (Send invitation to duel)
  • /duelstats (Look player's stats online in server)
  • /topduels ( top 15 stats from the database )

Requirements

  • This plugins must be in top of plugins.ini ( because it hook 'amx_kick' command )
  • MySQL Server
  • STEAM

Notes



You can change the glow of the teams , changing this cvar..


Code:
register_cvar( "dl_tt_glow", "255000000" );
register_cvar( "dl_ct_glow", "000000255" );
Parsing , is "REDGREENBLUE"
PS: The changes will be update in next spawn.

To change your values to MySQL :



Code:
new gTable[] = "duels";
static szHost[] = "";
static szUser[] = "";
static szPass[] = "";
static szDB[] = "";

DON'T LEAVE , always if you want to change anything , remember to add ; , or the plugin will not compile!.

The dueling is canceled if:
  • One of the player dueling is kicked.
  • If an admin change map.
  • if both players are in the same team.
If the database doesn't have data , the /topduels didn't works , always should got any data to works, at least 2 players.

I can add a version with sprite in the head in both players like same than TF2 , but i dont have the sprites, if anyone want to make it , i will try to add it to the plugin!


Changelog

  • Version 1.0
    - Initial Release

ML


The actual ml's thread is here.
  • [ES] ; lucas_7_94
  • [EN] ; lucas_7_94
  • [BP] ; rx1983

Screenshots

  • Dołączona grafika
  • Dołączona grafika
  • Dołączona grafika
  • Dołączona grafika
Enjoy it!.

Attached Files Dołączona grafika MiniDuelsML.txt (4.4 KB) Dołączona grafika Get Plugin or Get Source (MiniDuels.sma - 20.9 KB)

Wyświetl pełny artykuł




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

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