Help with while
Hi.
I have a question. Code: PHP Code:
Thanks in advanced. |
Re: Help with while
Because player indexes are before entity indexes.
You have to check if that entity is near before checking for players, meaning 2 different loops. |
Re: Help with while
Thats because players are entities too, you can solve that by checking that your ent is not a player.
!( 1 <= ent <= 32 ) |
Re: Help with while
Quote:
Quote:
PHP Code:
|
Re: Help with while
Quote:
Can you explain me please? I can't make it. Thanks in advanced. |
Re: Help with while
Code:
new Float:ent_origin[3] |
Re: Help with while
Quote:
PHP Code:
|
Re: Help with while
More details ? I can't know what you're trying to do if you don't post the entire code or explain in detail what exacly you can't do.
It's also possible I got the logics wrong, try debugging by printing client or server messages in those loops. |
Re: Help with while
PHP Code:
|
Re: Help with while
Quote:
|
| All times are GMT -4. The time now is 03:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.