Raised This Month: $ Target: $400
 0% 

Aim vectors, detect impact, explosions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-30-2009 , 09:11   Re: Aim vectors, detect impact, explosions
Reply With Quote #2

Quote:
Then I would need to detect the impact origin of the rocket and make it explode - Any ideas on this?

On impact it would explode and cause damage in a radius - Using a sphere
Use register_touch() : register_touch( MODEL_CLASSNAME, "*", "Event_RocketTouch" ); Event_RocketTouch will be called when the rocket touches something or someone. For the radius damage, you could try radius_damage().


Quote:
But doesn't work when I put it on my server?
Can you give more informations ?
__________________

Last edited by Arkshine; 05-30-2009 at 09:16.
Arkshine is offline
 



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 13:51.


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