Files

> > CS2D > Lua Scripts > [EngiN33R] Roll the Dice
Files overviewCS2D overviewLua Scripts overview

English [EngiN33R] Roll the Dice >

23 comments2 kb, 545 Downloads

old [EngiN33R] Roll the Dice

EngiN33R
Moderator Off Offline

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:
flame 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

More >
edited 1×, last 08.11.11 08:02:31 pm
Approved by Seekay

Download Download

2 kb, 545 Downloads

Comments

23 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Yates
Reviewer Off Offline

Shit, my HP. Damn you E!.
I like it!

old

Nem
User Off Offline

Damn, why havent i seen you in TF2 ?
Also, nice one
I like it!

old

Kel9290
User Off Offline

just... SPAAACCCEEE
IMG:https://i.imgur.com/4OoHm.png
I like it!
To the start Previous 1 2 Next To the start