Code:
/*
* NS Roll the dice plugin
*
* By White Panther and mICKE
*
* This Plugin gives players prizes when they Roll the Dice
*
* Comments:
* Any say * commands can only be used by clients, NOT SERVER CONSOLE
*
* Credits:
* - Depot - his assistance in getting bugs fixed
* - CheesyPeteza - For help with fake_damage
* - Ludwig van - rips from his plugins
*
* Commands:
* say rolldice / rollthedice / the dice
* say_team rolldice / rollthedice / roll the dice
* say vote_rtd / vote_roll / vote_dice
*
* Changelog:
* v 0.7.4c:
* - Initial beta
*
* v 0.7.7c:
* - fixed:
* - alien who got crappy weapon, still got his normal weapon
* - marine could pickup his old weapon after getting crappy weapon
* - fixed bug for 32 players
* - message hud display was fading in and out
* - changed:
* - cvar names (to recognize them being from Roll the Dice)
* - some cvar values
* - kills by time bomb are shown
* - now u can have multiple timer prizes (if u manage to get them ;) )
*
* v0.7.9:
* - fixed:
* - bug with constant godmode/noclip
* - setting stealth time to 0 (= no time limit) acted as being disabled
* - menu did not disappear once voted
* - when RtD started disabled and been enabled by vote, timer prizes were bugged
* - diabling RtD by vote did not remove a players prizes
* - CO: when winning JP/HA players lost their upgrades
*
* v0.8:
* - changed:
* - moved from pev/set_pev to entity_get/entity_set (no fakemeta)
*
* v0.8.4b:
* - fixed:
* - error with slapdisease
* - aliens could see marines with stealth
* - minor errors with hud text
* - added:
* - define to either kill or unstuck player after noclip
* - cvar to only allow RTD on specific mode
* - changed:
* - drunken can now be set as a timer prize too (default is none timer prize)
*
* v0.8.6:
* - fixed:
* - crash with stealth
* - rtd_vote_mode was acting wrong
* - changed:
* - some tweaks
*
* v0.8.7:
* - fixed:
* - no more godmode/noclip for 1 sec even if time set to zero
* - spawnprotect will not interfer with godmode anymore
* - changed:
* - code improvements
*
* v0.8.7b:
* - fixed:
* - bug with compiling option "kill_if_stuck"
*
* v0.9.0:
* - fixed:
* - some bug fixes
* - changed:
* - partly rewritten
* - removed fun module
* - added fakemeta
*/
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <ns>
this on is based on the roll dice i made once
but in this version mICKE and i added many new things, fixed buges and much more, also its mvm compatible
Previous downloads: 2648