Advanced Roll The Dice
Author: Striker (original plugin & idea by EJL)
Version: 2.5
RC 4
Release Date: 05/01/2006
Tested on: AMXX 1.71+ (Linux)
Credits to: EJL, BreadDawson & DarkBeatz, MattOGM, Noizza, XxAvalanchexX, SilverTide
CVS:
http://cvs.tcwonline.org/viewcvs.cgi...r/rollthedice/
Quote:
Changelog:- v2.5 RC 4
- fixed lots of runtime errors
- fixed WIN MONEY message (negative amount)
- fixed stuck bug in Smoking Drunkard Prize
- fixed (again) kill message for Rambo and Luke Skywalker - not tested!
- fixed bug where no timelimit was set for Zeusmode and Godmode
- fixed bug where a player don't get XP
- fixed bug where a player still go blind after "GO BLIND" Prize
- v2.5 RC 3
- fixed a prize bug caused by a typo
- fixed monstermod support
- fixed "hit by lightning" message after you lose Health
- fixed "win money" message
- fixed WIN 50 CRABS Prize - it should work now
- fixed runtime- and native error in event_damage function
- fixed bug where you still go blind after "GO BLIND" Prize
- fixed crash bug
- fixed lightsaber and Rambo kill message - not tested!
- added CVAR for Debug Mode
- added CVAR to specify which team(s) are able roll the dice (idea from 'NS Roll the Dice')
- added two CVARS to enable/disable the prizes you want
- added some info textmessages
- added one say command
- added good prize: PARA ACTION (RAMBO)
- rewrote prize system
- rewrote check_weapon function
- rewrote event_damage function
- edited WIN HEALTH Prize - you now get 'additional' 200 Health but max. 255
- optimized code (not everything)
- v2.5 RC 2
- added a cvar to switch between random- and static-times (prizes)
- added cvars to set static times
- added a cvar for admins which will disable amx_dice_delay for them
- added good prize: UNLIMITED AMMO
- added bad prize: LOSE HEALTH (HIT BY LIGHTNING)
- added bad prize: GO BLIND
- edited RACE CAR Prize (you now get 150 Health, too)
- v2.5 RC 1
- plugin renamed to "Advanced Roll The Dice"
- added good prize: FULL EQUIPMENT
- added some info textmessages
- added delay so that you can not roll directly after someone else
- readded monstmod support (amx_dice_monstermod <1|0>)
- rewrote some stuff
- removed tfc support
- changed CVAR-Name for Dice-Delay
- edited WON MONEY Prize (you now get 'additional' money)
- edited 250 HEALTH Prize (you now get 'additional' health)
- v2.4f
- temporarly removed vault support
- removed amx_dice_default Admin Command
- fixed sv_maxspeed bug
- fixed amx_dice <on | off> bug
- v2.4e
- removed monstermod support
- removed PODBOT support
- all times of rewards are now RANDOM
- renamed and relocated INI-File
- removed/renamed spanish codesnipes (say commands are still there)
- added require_module
- modified code
- fixed (again) some typos
- v2.4d
- fixed amx_givexp bug (player don't revive the won xp)
- v2.4c
- fixed some bugs (wild ride and native errors)
- added two rollthedice commands: "roll the dice" and "roll teh dice"
- v2.4b
- fixed some mistakes in the grammer and some typos
- v2.4a
- Changed 50 Snark Monsters To 50 Headcrabs
- Added a few translations so as I knew what stuff did
- Will add a check for monstermod soon, this was just a quick fix to get it working 100% with no errors
- v2.4
- Added snark monster prize
- Check Team for burning
- WC3 / Superhero Check
- Some CVARs changed
- New prizes process (called premios)
- Added BreadDawson fixes
- v2.3
- Glowing Removed (it's no funny)
- Multimod compatibility LOST ONLY CS/CZ (sorry)
- Added this prizes: xp prizes, money prizes, invisibility nogod, burning, nightclub
- New FX Sounds
- NoStuck for ZEUSMode & NoClip
- Rewritten chance code
- Rewritten prizes code
- v2.2
- fixed invisible bug
- fixed stuck on bug
- v2.1 & before Original by Ludwig van
|
Description:
This is another roll the dice plugin with some different and more advanced options.
There are gambling limits, admin controls, lots of FX and new features.
Just test it!
Required Modules:
- Fun
- Engine
- Counter-Strike
- CSX
Admin Cvars/Commands:
- amx_dice <on|off>
Type: COMMAMD
Default: on
Description: Turns dice games on or off
- amx_dice_delay <180>
Type: CVAR
Default: 180
Description: Sets the time players have to wait before gambling again
(Set either in amxx.cfg or by amx_cvar command)
- amx_dice_monstermod <1|0>
Type: CVAR
Default: 0
Description: Enable/Disable Monstermod support
(You need activate monstermod to use this option)
- amx_dice_admin <1|0>
Type: CVAR
Default: 0
Description: Enable/Disable amx_dice_delay for admins
(use ADMIN_ACCESS to set the flag)
- amx_dice_statictimes <1|0>
Type: CVAR
Default: 0
Description: Switch between static- and random-times for prizes
Use this CVARS when 'amx_dice_statictimes' is ENABLED (all times in seconds):
- amx_dice_nightclubtime <seconds>
Default: 15
Description: Sets the prize-time of NightClub
- amx_dice_slaptime <seconds>
Default: 12
Description: Sets the prize-time of Slap Disease
- amx_dice_oldmantime <seconds>
Default: 10
Description: Sets the prize-time of Old Man
- amx_dice_humanbombtime <seconds>
Default: 15
Description: Sets the prize-time of Human TimeBomb
- amx_dice_drunkardtime <seconds>
Default: 20
Description: Sets the prize-time of Smoking Drunkard
- amx_dice_nocliptime <seconds>
Default: 10
Description: Sets the prize-time of Noclip
- amx_dice_godmodetime <seconds>
Default: 15
Description: Sets the prize-time of Godmode
- amx_dice_zeusmodetime <seconds>
Default: 20
Description: Sets the prize-time of Zeusmode
- amx_dice_lukeskywalkertime <seconds>
Default: 20
Description: Sets the prize-time of Luke Skywalker
- amx_dice_racecartime <seconds>
Default: 17
Description: Sets the prize-time of Race Car
- amx_dice_invisiblegodtime <seconds>
Default: 17
Description: Sets the prize-time of Invisible God
- amx_dice_invisibletime <seconds>
Default: 17
Description: Sets the prize-time of Invisible Normal
- amx_dice_wildridetime <seconds>
Default: 3
Description: Sets the prize-time of Wild Ride
- amx_dice_debug <0>
Default: 0
Description: Enable/Disable Debug mode.- 0 - Debug mode disabled
- 1 - Normal Debug mode
- 2 - Advanced Debug Mode
- amx_dice_playmode <1>
Default: 1
Description: Specify which team(s) are able to roll the dice.- 1 - ALL
- 2 - Only T
- 3 - Only CT
- amx_dice_badprizes <abc..>
Default: abcdefghijklm
Description: Enable all BAD PRIZES you want.- a = Win 100 Chickens
- b = Nightclub
- c = Deadly Slap Disease
- d = Burning
- e = Wild Ride
- f = Old Man
- g = Human Timebomb
- h = Smoking Drunkard
- i = Lose XP
- j = Bankrupt
- k = Win 50 Crabs (or Monsters)
- l = Hit by Lightning
- m = Go Blind
- amx_dice_goodprizes <abc..>
Default: abcdefghijklm
Description: Enable all GOOD PRIZES you want.- a = No Clip
- b = Godmode
- c = Zeusmode
- d = Luke Skywalker
- e = Win Health
- f = Race Car
- g = Invisible God
- h = Invisible Normal
- i = Win XP
- j = Win Money
- k = Full Equipment
- l = Unlimited Ammo
- m = Para Action (Rambo)
Client Commands:
say roll the dice
say rollthedice
say roll teh dice
say i feel lucky
say rtd
say dados
say suerte
Upcoming Release:
- Advanced Roll the Dice v2.5 RC 5