Help edit ad_manager.amxx (make advertise only for dead and spec)
Hello all.
I want to make ad_manager show advertise only for dead and spectators. I did this thing, but i fail and chat is disabled for players, who dead. What`s my mistake? PHP Code:
Code:
if(!is_user_alive(id))PHP Code:
Thanks in advance. |
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
If I'm understanding you correctly, I'd remove your current alive check code, and change this:
PHP Code:
PHP Code:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
* testing *
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
PHP Code:
PHP Code:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Quote:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Quote:
With his code, ID is undefined. Quote:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Quote:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Quote:
It`s my current part of code, i use. PHP Code:
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
who told you to use "id"????? Nobody. Use his code as is.
|
Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Mofforg if you are not sure what your doing whats the harm in listening to experienced coder like fysiks and hornet .Do not think that ID is there by default in any fucntion .
|
| All times are GMT -4. The time now is 00:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.