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

Player-Based CVARs


  • 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 22.10.2011 00:24

Player-Based CVARs

By: nikhilgupta345

<b>

Description:

</b>

This plugin allows you to execute certain commands or set certain cvars when there are a certain number of players on the server. The commands are sent to the server console as soon as a player connects.

Installation:


  • Click 'Get Plugin' link below
  • Place 'player_amount_cvars.amxx' in addons/amxmodx/plugins/ folder
  • Open addons/amxmodx/configs/plugins.ini
  • Add the line 'player_amount_cvars.amxx' at the bottom
  • Either create 'player_cvars.ini' on your own in the configs folder
  • Set it up to your liking.
  • Restart server or change map


<b>

Example 'player_cvars.ini':

</b>


  • An example player_cvars.ini may look like this:
    Code: [1]
    mp_freezetime 2
    mp_startmoney 8000
    sv_gravity 200

    [3]
    mp_freezetime 1
    mp_startmoney 1000
    sv_gravity 800
  • In brackets '[]', include how many players you want in the server when the commands below it execute.

Changelog:

  • Code: October 12, 2011
  • -v1.0-
  • Initial Release
[/list]

Suggestions/Comments/Feedback are welcome.


Attached Files Dołączona grafika Get Plugin or Get Source (player_amount_cvars.sma - 2.6 KB)

Wyświetl pełny artykuł




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

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