Raised This Month: $ Target: $400
 0% 

Solved Removing Grenade Entity Before Explosion


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-15-2022 , 14:54   Re: Removing Grenade Entity Before Explosion
Reply With Quote #1

Show the code.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
hellmonja
Senior Member
Join Date: Oct 2015
Old 04-15-2022 , 15:33   Re: Removing Grenade Entity Before Explosion
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
Show the code.
Sorry. Not that I don't want to share, but the thing in embedded into a larger plugin. And I know you would like to have the whole thing but I doubt anyone would take the time to sift thru it.

I know, it seems dumb, asking for help without posting code. But I only asked if anyone had any idea if this would make the game crash. Nevertheless, Craxor gave me an idea for a possible solution so I think we're all good.

PS: If you're wondering about my code, the gist is it's hooked on FM_SetModel. Inside there's a timed task that removes the grenade entity with remove_entity(). And the timer is set a few milliseconds before detonation. I've also made liberal use of pev_valid...
__________________
hellmonja is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode