[EngiN33R] Roll the Dice 
23 comments Hello everyone,
Since I play TF2 often and on quite a lot of servers, on many I encounter the Roll the Dice SourceMod addon. I know a roll the dice mod was already done in CS2D, but this one is more versatile and configurable.
Features:
Controlled by a say command (!rtd or rtd)
Cooldown after using the command for a configurable amount of time (via the secondsuntilready variable)
Two tables, containing the prizes functions and names in respective order, allow easy customization of prizes
Comes with 9 built-in prizes
For developers and server hosts:
Attention! The script is using a say hook. If you are using other scripts that use say hooks with return 1 in them, please find a workaround, or else one of the scripts will be working incorrectly!
The order of the names in the rtdfuncnames table has to be the same as the order of the functions themselves (in the rtdfuncs table)
The only argument of the functions in the rtdfuncs table is the player ID, no more arguments exist
Thank you and I hope you enjoy using the script as much as I enjoyed writing it
Best wishes,
EngiN33R
Since I play TF2 often and on quite a lot of servers, on many I encounter the Roll the Dice SourceMod addon. I know a roll the dice mod was already done in CS2D, but this one is more versatile and configurable.
Features:
Controlled by a say command (!rtd or rtd)
Cooldown after using the command for a configurable amount of time (via the secondsuntilready variable)
Two tables, containing the prizes functions and names in respective order, allow easy customization of prizes
Comes with 9 built-in prizesFor developers and server hosts:
Attention! The script is using a say hook. If you are using other scripts that use say hooks with return 1 in them, please find a workaround, or else one of the scripts will be working incorrectly!
The order of the names in the rtdfuncnames table has to be the same as the order of the functions themselves (in the rtdfuncs table)
The only argument of the functions in the rtdfuncs table is the player ID, no more arguments existThank you and I hope you enjoy using the script as much as I enjoyed writing it
Best wishes,
EngiN33R
edited 1×, last 08.11.11 08:02:31 pm
Comments
23 commentsLog in!
You need to log in to be able to write comments!Log in
Look at this sentence before giving the link:
EngiN33R has written:
EngiN33R has written:I know a roll the dice mod was already done in CS2D, but this one is more versatile and configurable.
I like it! look at this link before putting a "like it"
http://www.unrealsoftware.de/files_show.php?file=1111
http://www.unrealsoftware.de/files_show.php?file=1111
I like it! Also, Engie, can you make analog for Carnage Contest please ?
Would be pretty easy for ya
Would be pretty easy for ya
I like it! It only shows an error in a other Script
so i think it isn't an error from your script...
so i think it isn't an error from your script...
@
SilentDash: What exactly didn't work? Any errors? Please let me know so I could perfect it.
P.S. It probably has to do with the buggy Lua parsing on Linux-based servers
SilentDash: What exactly didn't work? Any errors? Please let me know so I could perfect it.P.S. It probably has to do with the buggy Lua parsing on Linux-based servers
I like it! it will come on my server
Edit: The cooldown didn't work at my Server
but its funny
Edit: The cooldown didn't work at my Server
but its funny
edited 1×, last 08.11.11 09:08:12 pm
Thank you for the rates everyone
@
Alistaire: Err I wrote it today and didn't release it to anyone but this File Archive just now, and considering this has 0 downloads I don't think it's on any server mate
@
Alistaire: Err I wrote it today and didn't release it to anyone but this File Archive just now, and considering this has 0 downloads I don't think it's on any server mate
I like it! I lol'd 6 likes and 0 downloads. It looks promising I'll download it and edit this post when I get home.
I like it! This script is already in some weird prison thing nah?
Cause screw that prison server. This is much better.
Cause screw that prison server. This is much better.







[EngiN33R] Roll the Dice




1 
