Garry's Mod

Garry's Mod

[TTT2] Gambler [ROLE]
9 Comments
MooseGoneMad 30 Aug @ 5:48pm 
A few points for improvement:
1. The Gambler can get item_base -- that's a wasted item
2. The Gambler can get the same item multiple times (only ending up with 1 copy)
3. The Gambler can get multiple items that take the same slot (only ending up with 1)
4. The Gambler can get items that are in other roles' shops, which may not be desired.

Any chance that these could be improved/I can take the code and improve it myself? Thanks!
lazlo 7 Sep, 2024 @ 3:59pm 
they made a ttt role of me
Ded 2 Jul, 2023 @ 10:37pm 
Hey, Nice role. But is there anyway to blacklist items? or lower the chance? cause i'm almost getting passives each time i get the role
Captain Steely 16 Jun, 2022 @ 12:09pm 
Just wanted to update you that we tried it again last week and it was working great! Thanks for the quick fix!
Bevnindo  [author] 3 Jun, 2022 @ 3:34am 
Apologies all. I'm rolling out a fix for the role tonight that fixes the implementation!
Hope everybody enjoys it!
Captain Steely 2 Jun, 2022 @ 5:41pm 
The role also does not work for me. The Gambler does not get any weapons, and cannot get credits from killing anyone.
Hannes 21 May, 2022 @ 6:52am 
Ok, i tried a few things and these are the things I found out: If I force myself to be a Gambler, while I'm another role during the round, I receive my items and I also get a text message informing me about my Traitor-quipment. BUT...should I force myself to be a Gambler before the round has startet (ULX-commands btw), I don't receive my items neither do I get a chat message informing me about them. (No errors in the console btw.)
Bevnindo  [author] 20 May, 2022 @ 5:20am 
Thanks for trying the mod @Hannes!
I just tried it again on my end it was working on my base TTT2 server.
Did you get a chat message telling you what items you should have received, or is your server console throwing any errors on role selection/round start?
Hannes 19 May, 2022 @ 9:20am 
Like the idea, but it doesn't work for me, the Gambler just doesn't receive any items whatsoever at the start of the round...
Could you double-check if this works just fine for you and let me know, then I will look deeper into this!