Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

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


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
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
Quote:
// This file was auto-generated by AutoExecConfig read and append beta
// ConVars for plugin "Giveaway.smx"


// Enable auto message on every round start
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_giveaway_enablemessage "1"

// Content of auto message (possible to use colors)
// -
// Default: "A giveaway is running! Use command {darkred}!giveaway {default}for more information"
sm_giveaway_automessage "A giveaway is running! Use command {darkred}!giveaway {default}for more information"

// ID of Steam group where the client should be member
// -
// Default: ""
sm_giveaway_steamgroup ""

// Name of the Steam group
// -
// Default: ""
sm_giveaway_steamgroupname ""

// Link to the Steam group
// -
// Default: ""
sm_giveaway_steamgrouplink ""


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 smx.gifGiveaway.smx (18.1 KB) sp.gifGet Plugin or Get Source (Giveaway.sp - 13.8 KB)


Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=300139&goto=newpost

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...