Chat On Off
Hi Mates.. I currently have a plugin that disables the chat (cs 1.6).
Code:
public plugin_init()i've been trying to edit the plugin, but i'm failing. Can any mate help please? :oops: Or just give me an example. i've been looking at other plugins but i still can't do it. Thankss mates :) |
Re: Chat On Off
PHP Code:
|
Re: Chat On Off
Thank you very much.. But these errors
Warning: Possibly unintended assignment on line 19 Error: Must be lvalue (non-constant) on line 19 Warning: Expression has no effect on line 19 Error: Expected token: ";", but found ")" on line 19 Error: Invalid expression, assumed zero on line 19 Error: Too many error messages on one line on line 19 line 19 is Code:
if(get_pcvar_num(cv_chat) = 0)Quote:
|
Re: Chat On Off
My bad
= is ==, just edited my post above |
Re: Chat On Off
Perfect. The == always gets us :D
Thanks mate :) |
Re: Chat On Off
Use handled without main, plugins down won't be called.
Here's: PHP Code:
|
| All times are GMT -4. The time now is 18:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.