Show Info
Does anyone know what happen to my Show_Info it doesn't show :
PHP Code:
PHP Code:
|
Re: Show Info
Quote:
|
Re: Show Info
Try this:
PHP Code:
|
Re: Show Info
Quote:
can't it be this way : PHP Code:
PHP Code:
|
Re: Show Info
No it can't.
|
Re: Show Info
&& is a boolean operator, page 109 in the pawn manual
& is a bitwise operator, page 107 in the pawn manual They are not the same, so they are not interchangeable. |
Re: Show Info
Quote:
PHP Code:
Or user is connected and get user flags and admin level ? I want to show the client_print to everyone every 20 second. |
Re: Show Info
Then just change this:
PHP Code:
PHP Code:
|
Re: Show Info
Quote:
also, in your first post, you're checking if the admin is connected and the variable admin on ID... if that's true, then return (finish the function...) so it can't possibly work if you are checking if the user is connected and if he is you're just closing the function with a return :lol: for the 20 seconds to everyone thing... it's NOT a good think to add a task every time a user connects ... image what would happen after 1000 connects... this is a better way (not the best though) PHP Code:
PHP Code:
|
Re: Show Info
Quote:
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 15:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.