Radius_Damage
hey guys i got some problems with my script , i dont know how i can configurate my Radiusdamage . I want that if i kill an Enemy that an little Explosion comes out of him . but nothing i dont know how i configurate the Radius Damage
Can anyone show me an example with Player die public ? Please help me |
Re: Radius_Damage
I really dont know how to script but try to look in the source of warcraft3 the suicede bomber thingy.
|
Re: Radius_Damage
Code:
public radiusdamage(id){So the function i would use is this: Code:
This way, you can determine your own deathmessage. |
Re: Radius_Damage
well i wrote a dynamic native for my plugins long time ago.
Code:
iEntity = Entity who does damage. If it has an owner, the owner will be used for the DeathMsg DeathMsg = The weapon that will be displayed MaxDamage = the max damage that a client will get MaxRadius = Inside of this radius the client will get damage. How much depends on the distance to the explosion core MaxDamageRadius = If a player is inside of this radius the client will get the maxdamage IgnoreEntity = this entity will not get any damage. NOTE: This code contains functions that are not in included in amxx. So you have to port this function first b4 you can use it. getClientTEAM = returns TeamID of the player silentClientKILL = kills a player without score-/deathmessages |
| All times are GMT -4. The time now is 00:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.