Nade Semiclip v2.7
Description:
Semilcip for grenades, now they can go through teammates or even enemies if you want to!
No more annoying teammates blocking your grenades and making them explode in your face xD
Cvars:
nade_semiclip 0: Plugin disabled.
nade_semiclip 1: Nades can only go through teammates. ( default )
nade_semiclip 2: Nades can go through all players.
The new setting will take effect in the next round.
Changelog:
Code:
-V1.0:
* First release.
-V1.1:
* Made distance calculations more accurate.
-V1.2:
* Fixed a conflict with the c4.
-V1.3:
* a better way to calculate distance.
* fixed nade getting stuck in its real owner.
-V2.0
* fully rewritten.
* no more grenade stuck bugs.
-V2.1
* fixed nade stuck in the opposite team because of a bug in get_user_team native.
-V2.2
* Added distance check to avoid useless calls.
-V2.3
* Fixed damaging teammates bug.
-V2.4 (1k downloads)
* Fixed possible wrong nade owner id.
-V2.5
* Rewritten the code to make it clearer.
* Added a tracking cvar.
-V2.6 (+200 downloads)
* Minor changes to improve readability.
-V2.7
* Fixed a bug with cvars conflicting.
* Optimized and refactored the plugin.
Note:
If you are using rehlds make sure that your liblist.gam file have both those lines commented or removed :
gamedll_linux "dlls/cs.so"
gamedll "dlls\mp.dll"