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/
Code: Select all
sm_giveaway (does the giveaway)
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.
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