Detecting if aiming to a grenade
I want to detect if the player is aiming to a grenade in the form of weapon_smokegrenade, weapon_flashbang or weapon_hegrenade. Tracemodel used like in this plugin, crashes.
If somebody has another way or a fix for this, I will appreciate it. |
Re: Detecting if aiming to a grenade
I would love the answer to this aswell! I tryed to get what the client was aiming at and the trace that model, but i only got crashes too....
This is what i tryed: PHP Code:
|
Re: Detecting if aiming to a grenade
Solution: tracemodel against "weaponbox"'s. By the way what I'm doing is for grenades in the floor.
|
Re: Detecting if aiming to a grenade
Good idea :) TY
|
Re: Detecting if aiming to a grenade
joaquim, remember you should use vector (start / end) with a large distance between them.
I don't know why but OT_ said that in his wallblocker thread. |
| All times are GMT -4. The time now is 08:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.