n
n
// v0.1 - Be!n// MANY THANKS TO: Neil 'Jed' Jedrzejewski - jed@wunderboy.orgn// for the wonderful idea and the initial code that I looked atn// and modifiedn//n// v0.2 - Re-Worked the smoke code to make it more real liken// - Added cvars to set min and max size and spreadn// - Added cvar to set smoke max / player limitsn// - Added a function to turn smoke on and offn// - Added a way to turn off smoke for individualsn// - Added a menu systemn//n// v0.3 - Added cvar for spritesn// - Added cvar for smoke intervaln// - Added cvar for smoke durationn// - Added Damage if you get too close to the grenaden// - Fixed an exploit that could be bad - Thanks to [CPP] PyRon//n// v0.4 - Changed code around for smoke grenade entitiesn// - Added damage if grenade hits somonen// - Added class limitsn// - Add team cvars to allow certain sides to have smoken//n// v0.4a - Corrected the ResetHUD so that you actually get smoke grensn// - Fixed the error with not getting grens on spawnn// - Added chat code to tell you how many smoke you have leftn// - Fixed up the menus so that they work much better now, as in they actually work!n//n// v0.5 - Fixed respawn no smoken// - Fixed entity errorn//n// v0.5a - Added a cvar to turn off chokeing and damagen// - Fixing the removal of models at the end of a round ( Thankx to diamond-optic for the mention )n//n// v0.6 - Changed some base cvars to higher numbersn// dod_smoke_interval 0.5n// dod_smoke_max_size 75n// - Added a smoke grenade sprite, Mucho Nicern// - Fixed a bug that wasn't showing the smoke ( Thanks goes out to cartman )n// - Fixed up some gramatical errorsn//n// v0.6a - Changed sprite to be larger ( Need to get the New Sprite )n// - Added a timer to the smoke grenadesn// - Smoke wont start until the dod_smoke_startdelay is reachedn// - Reset dod_smoke_max_size to 50 from 75n// - Removed the dod_smoke_interval and made the thinks static at every secondn//n// v0.6b - Added Smoke Up Wavs and Calls to themn//n// v0.6c - Fixed problem with say_smoken//n// v0.6d - Fixed error when calling out Smoke Up it displays the Helpn// - Added say_smoke to the helpn// - Fixed error with saying twice to yourselfn// - Fixed say smoke to use only distance, so if your on same team and far awayn// you wont hear itn// - Fixed say to use a different channel than voicen// - Added grenade pin pulling soundn// - Took out some debug coden//n// v0.7 - Fixed dummy by me, thanks to diamond-optic Yet Again!!! hehehen//n// v0.7a - Trying new method of saying Smoke Up!n// - Fixed Name of Call to Say Smokeupn//n// v0.7b - Replaced the message upon spawn telling you that you have xx smoke n// grenades left with nothing. But you will see how many you have left after an// throw.n//n// v0.7c - Removed dod_smoke_say_distn// - Removed dod_max_smoken// - Changed to a default sprite for the smoke so no need to download thatn// - Fixed team damage by grenade hitting teamate and FF is offn// - Added a splat when it hits a playern// - Changed dod_smoke_min_spread and dod_smoke_max_spread to be dod_smoke_spreadn// - Changed dod_smoke_min_size and dod_smoke_max_size to be dod_smoke_sizen// - Kept the Grunts, as I couldn't find anything that I liked in the sounds dirn//n// v0.8 - Added file consistancy checksn// Thanks to diamond-optic for the Idean// Thanks to Danni for the modified coden// Thanks to Threarah for original code for consistancy checkn// - Added command to increment | decrement how to report filesn//n// v1.0 - Added throw annimationsn// - Removed the throw_smoken// - Removed the file check for soundsn// - Chose a different smoke sprite, a dark onen// - Changed dod_smoke_spread to 75n// - Changed dod_smoke_size to 40n// - Removed a few globalsn// - Fixed up the MOTDn//n// v1.0a - Found that bounds were to ficked up for sprites so got rid of method of looking at sprites...now they MUST MATCH!n// - Removed dod_smoke_badcrcn// - Removed cmd dod_smoke_crc and fixed error with the functions mixed upn//n// v1.0b - Moved position of the smoke modelsn// - Removed the p_smokegrenade.mdln// - Removed the models/mapmodels/smoke_grenade.mdln//n// v1.0c - Fixed stupid old amxmodx 1.60 error not identifying the grenade_thrown//n// v1.0d - Added some fixes found by diamond-optic in the RoundState eventn//n// v1.0e - Changed friction from 0.65 to 0.85n// - Added checks for bots/hltv/connected/alive

