Hook he & flash explode
How can hook he grenade explosion and flash grenade explosion? Without using orpheu.
|
Re: Hook he & flash explode
if you say w/o orpheu: then you need to hook Think for "grenade" classname (with Hamsandwich is most suitable method), than check if (entity_get_float(grenade, EV_FL_dmgtime) <= get_gametime()) - this is the explosion moment.
As for hegrenade/flashbang detection - there are various ways: 1) by checking the grenade model 2) by checking pev_dmg, but I am not sure if it's safe enough (it might catch smokegrenade) |
Re: Hook he & flash explode
You have a direct way with orpheu, why you don't want to use it ? I can give you an example if you want.
|
| All times are GMT -4. The time now is 15:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.