Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[CS:GO] Giveaways manager (v1.0, 2017-08-07)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description
Manage all giveaways for skins and add entries. There is only 1 possible running giveaway at the same moment. Entries are based on Steam Auth ID.

Feature list/plans
At the moment nothing.

Admin commands
  • sm_giveaway_create - creates tables for giveaways and entries.
  • sm_giveaway_add <deadline> <type> <skin> <description> - creates a new giveaway. Type can be 0, 1 or 2. 0 = everyone, 1 = for Steam group members, 2 = for players with reserved slots (usually VIPs).
    Quote:

    Example:
    sm_giveaway_add 2017-08-13 0 "Galil AR | Cerberus (FT)" "Float value: 0.25357672. It's very nice skin, I hope you will like it!"
  • sm_giveaway_draw - draws a winner of ended giveaways.
  • sm_giveaway_winner <giveawayID> - gets the winner of a giveaway + info about the giveaway.
Commands
  • sm_giveaway - writes information about running giveaway.
  • sm_giveaway_enter - enters in the running giveaway.

Variables
Spoiler


Changelog
Quote:

2017-08-07 (v1.0)

* Initial release.
Dependencies
  • You must have SourceMod connected with database.
  • You need extension SteamWorks.
  • If you want to compile, you need Colors.

Installation instructions
  1. Download the extension SteamWorks and upload it on the server.
  2. Restart the server.
  3. Download the plugin and upload it on the server.
  4. Create tables for giveaways and entries (sm_giveaway_create).

Attached Files
File Type: smx Giveaway.smx (18.1 KB)
File Type: sp Get Plugin or Get Source (Giveaway.sp - 13.8 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...