Jump to content

[Plugin] [CS:GO] Giveaways manager


SeMeGe

Recommended Posts

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.

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).
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.


Dependencies

  • You must have SourceMod connected with database.
  • If you want to compile, you need Colors.


Installation instructions

  1. Download the extension SteamWorks and upload it on the server.
  • Restart the server.
  • Download the plugin and upload it on the server.
  • Create tables for giveaways and entries (sm_giveaway_create).


Download:

Sursa

Plugin

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use & Privacy Policy