RSSy MYGO.pl Opublikowano Styczeń 16, 2020 o 18:42 RSSy Udostępnij Opublikowano Styczeń 16, 2020 o 18:42 Call of Duty: HitMarkersDescription.A simple plugin displaying a symbol inside your crosshair everytime you hit an enemy, just like in Call of Duty. Made this plugin since there aren't any of this kind yet. The plugin is standard set to only display a hitmarker when using a sniper. set amx_hmsnipers "0" to enable it for all guns. Plugin Cvars.The whole hitmarker has a bunch of settings that can be changed by cvars, listed below Code: amx_hitmarkers "1" - Enables/disables the plugin. Enabled on default.amx_hmrainbow "1" - Enables/disables rainbow colors. Enabled on default.amx_hmrandom "1" - Enables/disables random hitmarker symbols. Enabled on default.amx_hmsnipers "1" - Enables/disables hitmarkers on snipers only. Enabled on default.amx_hmsounds "1" - Enables/disables hitmarker sounds. Enabled on default.amx_hmsymbol "x" - Sets the symbol of the hitmarker (only works when amx_hmrandom "0")amx_hmrcolor "165" - Sets the RGB Red code. (This won't work when amx_hmrainbow = 1)amx_hmgcolor "165" - Sets the RGB Green code. (This won't work when amx_hmrainbow = 1)amx_hmbcolor "165" - Sets the RGB Blue code. (This won't work when amx_hmrainbow = 1)amx_hmxpos "-1.0" - Sets the x position.amx_hmypos "-1.0" - Sets the y position.amx_hmholdtime "0.5" - Sets the holdtime of the hitmarkerHitmarker Symbols.When amx_hmrandom is "1", a random symbol will be picked to display inside your crosshair. When it's "0", a simple "x" will be displayed. Code: "-""\""|""/""*""+""x"Updates. Code: 1.0: First release1.1: Implented DJEarthQuake's ideaAdded rainbow colors + cvarsAdded random symbols + cvars1.2: Released a version which only works for Sniper rifles.1.3: Added a cvar for snipers and merged both plugins into 1. Thanks to HamletEagle. Optimized my code a lot thanks to Bugsy, thanks for showing me.1.4: Added hitmarker sounds controlable with a cvar.1.5: Added a cvar to adjust the hitmarker symbol to your likings Optimized the code a bit.Credits.DJEarthQuake: random color & random symbol idea. Bugsy: Bitsums & optimizations HamletEagle: Optimizations & fix of the Sniper Cvar. Please, if any bugs occure, let me know. Suggestions and improvements are always welcome too. Attached Files Get Plugin or Get Source (HitMarkers.sma - 3.8 KB) HitMarkers.zip (4.0 KB) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi