[CSGO] Coinflip system for MyJailShop

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

[CSGO] Coinflip system for MyJailShop

Post by greenie »

Coinflip (MyJailShop) - Updated 7 Dec. 2020

Description:
-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:
-CSGO

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

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

Commands:
sm_coinflip <credits>

ConVars:
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
.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œFun Stuff”