n
n
Use of plugins are at your own risk.nAuthor makes no claims of liabilty for the use of any plugin created/modifiednTested and compiled for AMXX 1.76anAUTHOR:n=|[76AD]|= TatsuSaisein[email=TatsuSaisei@76AD.com]TatsuSaisei@76AD.com[/email]n[URL]http://76AD.com[/URL]n[URL]http://forum.76AD.com[/URL]nDESCRIPTION:nHave you ever seen the script kiddies run around using a large MG as if it was the Thompson ?? No recoil... it made me mad... n-OR-nThe n00bs who pull off the lucky kills when they are confronted and fire the MG when it isn't deployed...nThe large machine guns were not designed to be used this way, and I hated seeing it happen.nThis script will prevent the guns from firing unless the gun is actually deployed and set-up. nIf a player shoots the gun while not deployed, a message about deploying the gun will be displayednCREDITS: n[URL]http://amxmodx.org[/URL], and it's creators, for the awesome mod that allows for this to be a reality !!!n[URL]http://dodplugins.net[/URL], for their awesome site, and its members for helping out when asked !!!nWilson [29th ID] for the code used come from a suggestion he made in the dodplugins.net forum about UpdateClientData_Post and his desire to make the game of DOD more realisticndiamond-optic for "fixing" the animation of the gun still going off as a player tries to shoot his/her MG (PlayerPreThink)nTO-DO: n??nUSAGE: ndod_mg_mustdeploy <0|1> (disable|enable) 'turn plugin on/off, default 1(on)ndod_mg_mustdeploy_msg <0|1> (disable|enable) 'turn warning message on/off, default 1(on)ndod_mg30cal_mustdeploy <0|1> (disable|enable) 'turn effect for Allied 30 Caliber on/off, default 1(on)ndod_mg42_mustdeploy <0|1> (disable|enable) 'turn effect for Axis MG42 on/off, default 1(on)ndod_mg34_mustdeploy <0|1> (disable|enable) 'turn effect for Axis MG34 on/off, default 1(on)nTo set a custom message to warn players about the need to deploy first before firing the weaponndod_mg_mustdeploy_custommsgMAX 255 charactersnTo customize the position of the message:ndod_mg_mustdeploy_msgx <-1.0 or 0.0-1.0> (left to right)ndod_mg_mustdeploy_msgy <-1.0 or 0.0-1.0> (top to bottom)nTo set the color of the message:ndod_mg_mustdeploy_msgr <0-255> REDndod_mg_mustdeploy_msgg <0-255> GREENndod_mg_mustdeploy_msgb <0-255> BLUEnTo set the time the message is displayed:ndod_mg_mustdeploy_msg_time <0.0+> Number of SECONDSnnVERSION HISTORY:n76.0n* Inceptionn76.1n* Fixed the problem where the gun would still appear to fire, although it would not hurt anyonen76.2n* added ability to turn plugin on/offn* added ability to turn warning message on/ofn* added ability to turn effect of on each MG selectivelyn* added a hud message warning for players who try to use an MG undeployedn* added definition to allow for creating a custom message when a user tries to fire the weapon when it is not deployedn* added cvars to allow for customizing the color/placement/text of the custom messagen76.3n* updated information. Plugin compiles and works in AMXX 1.76an* minor optimizations and cleanup of coden76.4n* fixed major error in coding that was causing plugin to not work unless ALL weapons were being blocked at once.n* Plugin now officially works as designedn* Credit: Box Cutter for raising attention to error

