Radius [Still need help]
How can i find every player id in my setted origin?
find_ent_in_sphere - I don't know how to use this |
Re: Radius
Code:
|
Re: Radius
So how can do that when you shoot lightning, on the end origin would be a blast radius?
This is my code: PHP Code:
|
Re: Radius
Display an explosion sprite, then damage players in the radius, even toss them away from the blast if you want to get fancy.
|
Re: Radius
And how do i make that they would be pushed from the blast??
I never understanded how do they do that |
Re: Radius
Quote:
PHP Code:
|
Re: Radius
Code:
There's some pseudo-code. It shouldn't be hard for you to turn that into real code since the logic is already there. |
Re: Radius
Is my code above is good?
|
Re: Radius
find_ent_in_sphere() can return non-player entities, so you should loop to <= max players.
|
Re: Radius
PHP Code:
|
| All times are GMT -4. The time now is 00:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.