Ent sphere
Oh, hi. Actually i want to check if in sphere of a player there is no ent. I know how to get if there is an ent, but dunno how to check if there isn't.
Thanks. |
Re: Ent sphere
Quote:
This is SO FUNNY +I seriously hope I got you wrong^^ |
Re: Ent sphere
Check for ents, then if nothing returns that means there aren't any?
|
Re: Ent sphere
Quote:
Go find another post... @hlstriker - hmm, Code:
new Ent = -1; |
Re: Ent sphere
PHP Code:
|
Re: Ent sphere
lawl, i know this, but i thought there is another way, hmm...dunno at what i was think...nvm. Thanks anyway.
|
Re: Ent sphere
Surely it would always return the player?
|
Re: Ent sphere
Yes, if you are using the players origin. Which in his case it looks like he is.
Looks like you might have to loop through all the entities and if it's the player who you are checking just skip it. |
Re: Ent sphere
Isn't the weapon an ent too?
Information? We won't steal your idea. |
Re: Ent sphere
@purple_pixie - Yes, if you do new Ent = engfunc(...) != 0;
@hlstriker - Yes, i do while(...) ;-) and skip the current ent. @Black Rose - Yes, it is , but i'm not using this with players... |
| All times are GMT -4. The time now is 01:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.