A simple coinflip plugin for Zephyrus store!
Commands:
!coinflip <team> <amount>
!flip <team> <amount>
Cvars:
Code: Select all
// Maximum credits to bet!
// -
// Default: "10000"
sm_coinflip_max_credits "10000"
// Minimum credits to bet!
// -
// Default: "10"
sm_coinflip_min_credits "10"
Just simply drag the smx file into the plugins folder, (addons/sourcemod/plugins)
When the plugin has been loaded it will automatically create a config file, (cfg/sourcemod/zephyrus-coinflip.cfg)
Todo:
Nothing for now but it's always room for improvement !
Changelog:
Code:
Code: Select all
Changelog
1.0.3 - 2017 02/22 - More bug fixes!
1.0.2 - 2017 02/20 - Bug fixes, added config/cvars to minimum/maximum bet
1.0.1 - 2017 02/15 - Mitchell cleaned up the code, special thanks to him!
1.0.0 - 2017 02/15 - Published the plugin!
zephyrus-coinflip.smx
indcludes.zip
Get plugin or Get source