Raised This Month: $18 Target: $400

[CSGO] Coinflip system for MyJailShop

Post New Thread Reply   
Thread Tools Display Modes
Join Date: Sep 2020
Location: Romania
Plugin ID:
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Provides a Coinflip system for MyJailShop
    Old 11-30-2020 , 03:29   [CSGO] Coinflip system for MyJailShop
    Reply With Quote #1

    Coinflip (MyJailShop) - Updated 7 Dec. 2020

    -This is a small plugin that provides a Coinflip system for MyJailShop.
    -Players can flip the coin for the amount of credits that they specify, and they either lose that much credits, or win that much credits.

    Supported games:

    Plugin Requirements:
    -MyJailShop by shanapu: https://forums.alliedmods.net/showthread.php?t=288712

    1. Add MyJailshop.Coinflip.phrases.txt into the "addons/sourcemod/translations" folder.
    2. Add myjailshop_coinflip.smx into the "addons/sourcemod/plugins" folder.

    sm_coinflip <credits>

    The plugin will automatically generate a .cfg file under "cfg/MyJailShop" which contains the following ConVars:
    sm_coinflip_minamout -- Default: 10 -- Minimum amount of credits needed for coinflip
    sm_coinflip_maxamount -- Default: 100 -- Maximum amount of credits allowed for coinflip
    sm_coinflip_winchance -- Default: 50 -- % Winning chance for coinflip
    sm_coinflip_limit -- Default: 2 -- How many times per round players can flip the coin
    v1.1 - (7 Dec. 2020)
    - Removed the enforced once per round usage limit
    - Added ConVar for per round usage limit
    v1.0 - (30 Nov. 2020)
    -Initial release
    GitHub link: https://github.com/FAQU2/CSGO-Coinflip-MyJailShop

    Note: Criticism is highly appreciated.
    Attached Files
    File Type: zip Coinflip 1.1.zip (14.0 KB, 96 views)
    File Type: sp Get Plugin or Get Source (myjailshop_coinflip.sp - 73 views - 3.1 KB)
    File Type: smx myjailshop_coinflip.smx (7.1 KB, 65 views)
    File Type: txt MyJailShop.Coinflip.phrases.txt (882 Bytes, 64 views)

    Last edited by FAQU; 12-07-2020 at 03:11. Reason: Updated plugin
    FAQU is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 09:00.

    Powered by vBulletin®
    Copyright ©2000 - 2022, vBulletin Solutions, Inc.
    Theme made by Freecode