[Old Clipstone] Bet Against The Server
-
Bet command:
I ripped this from my old clipstone servers gsc file, you'll need to make a couple changes adding a dvar for 'SV_AllowChatBet'Makes a bet using the randomint generator which just generates int numbers at random and gives the user x 2 amount that they bet or all of their money if they did bet all!
https://github.com/WeedLikeTooSmoke/PlutoniumAssetRepository/blob/main/bet/bet.gsc
-
Video of the script:
-
im fairly new to this but where and how do i set the dvar for "sv_allowchatbet"
-
Search for this line:
if (isInteger(args[1]) && player.score >= int(args[1]))
change to this:
if (isInt(args[1]) && player.score >= int(args[1]))
-
for the one on the github its staminup machines but can easily be changed to a command instead
just rip the code from the machine and put it into a function and run whenever the command is used
-
ah alr i run into an issue when trying to use it tho i get another error when trying to load the gsc

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login