Exclude Player Index
Hello everybody, i have a question.... for example in public bomb_planted(index) i want to print two messages, one to planter and one message to other players excluding planter index...
Is right this method? PHP Code:
|
Re: Exclude Player Index
Yes. As long as you use some curly brackets for the loop.
Now you're just looping player = Players[i]; which will result in one message for the last player only. So include the if statement inside of the loop. |
Re: Exclude Player Index
Quote:
|
Re: Exclude Player Index
Quote:
|
All times are GMT -4. The time now is 04:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.