Raised This Month: $51 Target: $400
 12% 

Remove HE grenade when it touches the ground


Post New Thread Reply   
 
Thread Tools Display Modes
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2019 , 04:40   Re: Remove HE grenade when it touches the ground
Reply With Quote #11

i'm not sure if this is necessary but the code that busy implemented will remove the grenade when it touch the wall also or anything else beside the player, if that what you wanted then its fine.

to prevent this issue i assume you should check if the grenade enitity has a grounds( pev_groundenitity ).
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 10-14-2019 at 04:42.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-14-2019 , 07:43   Re: Remove HE grenade when it touches the ground
Reply With Quote #12

Quote:
Originally Posted by Natsheh View Post
i'm not sure if this is necessary but the code that busy implemented will remove the grenade when it touch the wall also or anything else beside the player, if that what you wanted then its fine.

to prevent this issue i assume you should check if the grenade enitity has a grounds( pev_groundenitity ).
Quote:
Originally Posted by wicho View Post
bugsy I tested your code and it works fine but sometimes when I throw the grenade it doesn't give me a new grenade, I think that happens when I throw it to a map entity (func_wall, etc)
__________________
Bugsy 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 00:47.


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