[CS:GO] Zephyrus Store Giveaway

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Zephyrus Store Giveaway

Post by Andreeas »

ABOUT
With this plugin, admins with a certain flag will be able to do a credit giveaway that selects a random player on the server to win a pre determined number of Zephyrus Store credits.

FEATURES
  • Admins with a certain flag (or above) will be able to do giveaways.
    Number of credits given by the plugin can be determined.
    Plugin chat tag can be customized.
    Minimum players needed for the giveaway also customizable.
    Translations.
    The plugin generates logs on sourcemod/logs/zgiveaway/
COMMANDS

Code: Select all

sm_giveaway (does the giveaway)
CVARS
sm_chattag (Chat Tag that appears in front of everything this plugin says.)
sm_flag (Warning: in this cvar you can't put the flag as a single character like z, you have to use it like this: ADMFLAG_<flag>)
sm_giveaway_credits (Number of credits given.)
sm_minplayers (Minimum players required in the server for the giveaway to happen.)

INSTALLATION
  • Put everything on the zip file in your addons/sourcemod folder.
DEPENDENCIES
Store by Zephyrus (https://forums.alliedmods.net/showthread.php?t=276677)

ADMIN FLAGS TO BE USED WITH THIS PLUGIN
https://sm.alliedmods.net/new-api/admin/AdminFlag

TO BE DONE
  • Giveaway command cvar

zGiveaway.zip
Post Reply

Return to “Fun Stuff”