[FXM]Flameshooting XM1014
2 Attachment(s)
Here is my new plugin I am trying for...
can someone make damage taken by FXM and add an explosion when FXM Projectile collides with a wall or a player... Also can i provide a trail for FXM projectile( no with TE_BEAMFOLLOW, but with a flame) |
Re: [FXM]Flameshooting XM1014
About explosion, you can use register_touch like this:
PHP Code:
|
Re: [FXM]Flameshooting XM1014
and can this explosion reduce its victim's HP
|
Re: [FXM]Flameshooting XM1014
No, you must execute takedamage when it touches the target.
|
Re: [FXM]Flameshooting XM1014
will it be stock function or public function?? :P
|
Re: [FXM]Flameshooting XM1014
Public function is enough, you can put it in fwd_Touch.
|
Re: [FXM]Flameshooting XM1014
alright got it...
in fwd_touch: PHP Code:
|
Re: [FXM]Flameshooting XM1014
You do not need to obtain the index of the player, already defined in:
PHP Code:
PHP Code:
|
Re: [FXM]Flameshooting XM1014
Quote:
PHP Code:
|
Re: [FXM]Flameshooting XM1014
Sorry, it must be
PHP Code:
|
| All times are GMT -4. The time now is 10:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.