if, elseif, bool?
Hei guys.. wanted to ask is this possible?
PHP Code:
|
Re: if, elseif, bool?
It kind of depends on what you mean by "this"?
|
Re: if, elseif, bool?
I mean, if I say "/us" then it will make client_cmd with "setinfo mute off" and if he say /us again.. it will replace with "setinfo mute on".
|
Re: if, elseif, bool?
I can't say anything about the mute function. It might be blocked by valve for all I know.
But the code looks good. |
Re: if, elseif, bool?
Code:
if ((g_mute[i] = true)) { Code:
if (g_mute[i]) { |
Re: if, elseif, bool?
Quote:
Code:
set_user_info(i, "mute", g_mute[i] ? "off" : "on")PHP Code:
|
Re: if, elseif, bool?
PHP Code:
g_mute[i] = true or other |
Re: if, elseif, bool?
@OnePL
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 06:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.