AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] High or Low for Zephyrus Store V1.1 [16/08/2020] (https://forums.alliedmods.net/showthread.php?t=324815)

SSheriFF 05-28-2020 06:45

[CS:GO] High or Low for Zephyrus Store V1.1 [16/08/2020]
 
2 Attachment(s)
Description:
➤ Gamble/bet your credits and have fun :)
➤ Supports Zephyrus's Store.

How to install:
➤ Copy HighOrLow-Zephyrus.smx to addons/sourcemod/plugins
➤ Change the map or restart your server.
➤ Have Fun.

Commands:
➤ sm_hol | Opens the High or Low menu.

Cvars:
➤ sm_hol_min_amount | The minimum amount of Credits to play High or Low (default : 50)
➤ sm_hol_max_amount | The maximum amount of Credits to play High or Low (default : 500)
➤ sm_cooldown_time | Cooldown for the high or low command. Usage: The amount of second between each try of the command . 0.0-Disable. (default : 30.0)
➤ Changeable through cfg/sourcemod/highorlow.cfg

Download links:
Zephyrus Store

Credits:
➤ Pilo - for helping me with some issues: https://forums.alliedmods.net/member.php?u=290157

Contact:
My Discord: WilDick#1524

Versions:
➤ 1.0 - first release [28/05/2020]
➤ 1.1 - added an option to set a cooldown between each try of the command [16/08/2020]

Psyduckk 05-28-2020 21:08

Re: [CS:GO] High or Low for Zephyrus Store
 
Nice gambling plugin :)

amirsz 08-12-2020 09:20

Re: [CS:GO] High or Low for Zephyrus Store
 
Add plugin on SourceMod Translator, please.

I think there is a mistake here because of which there can be serious problems
Code:

//Previosous
int win = (g_iManualAmount[client]/(100-g_iRand1));
int win = (g_iManualAmount[client]/(g_iRand1));

//After
int win = (100/(100-g_iRand1));
int win = (100/(g_iRand1));


SSheriFF 08-12-2020 11:48

Re: [CS:GO] High or Low for Zephyrus Store
 
Quote:

Originally Posted by amirsz (Post 2713953)
Add plugin on SourceMod Translator, please.

I think there is a mistake here because of which there can be serious problems
Code:

//Previosous
int win = (g_iManualAmount[client]/(100-g_iRand1));
int win = (g_iManualAmount[client]/(g_iRand1));

//After
int win = (100/(100-g_iRand1));
int win = (100/(g_iRand1));


Fixed that in the post, thank you:)

ROFI 08-16-2020 13:15

Re: [CS:GO] High or Low for Zephyrus Store
 
Can you make a timer between games?

SSheriFF 08-16-2020 16:48

Re: [CS:GO] High or Low for Zephyrus Store
 
Quote:

Originally Posted by ROFI (Post 2714441)
Can you make a timer between games?

Added on version 1.1 Enjoy:bee:


All times are GMT -4. The time now is 16:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.