how to print only one time
1 Attachment(s)
how to do ?
Loop all players to check flag but print only one time Problem : now its printing NO Admins Online NO Admins Online NO Admins Online NO Admins Online depending upon online players PHP Code:
|
Re: how to print only one time
Try with 0 --> tempid
|
Re: how to print only one time
Yup tempid is working for chat but how to do for menu
Any idea for menu ? PHP Code:
|
Re: how to print only one time
To only print once, you should have a boolean that you set to true when you find an admin and then break out of the for loop.
Pseudocode: Code:
new bool:admin_found = false |
All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.