Working radius damage function with id
i need working radius damage function with id, so i can add killer. I tested many functions that i find in forum, some don't work and some works but crush server, some works only with entity. :cry:
|
Re: Working radius damage function with id
You can use something like this:
PHP Code:
|
Re: Working radius damage function with id
Its always return true, doesn't mater if player is close or not. Basicly its killing everybody on map. :(
Cant this function use get_distance ( origin1[3], origin2[3] ) instead of sqroot ? I use your code, and it works wit get_distance. Or i am wrong? PHP Code:
|
Re: Working radius damage function with id
My code works fine with sqroot.
You can use get_distance function instead of my method - it doesn't matter. |
Re: Working radius damage function with id
Thanks for help!
|
| All times are GMT -4. The time now is 03:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.