How to activate func_button
Hello.
How i can activate func_button "target name" with command ? I find that code but it crash server when i type command PHP Code:
|
Re: How to activate func_button
PHP Code:
PHP Code:
|
Re: How to activate func_button
Quote:
Still crashing the server. Perhaps a stupid question: where do i set the name of the button here? Maybe I'm doing it wrong |
Re: How to activate func_button
You haven't used my code because it doesn't even compile.
It's easy to talk that your server crashes because you are still using your code. Use this: PHP Code:
|
Re: How to activate func_button
Quote:
Sorry to appeal to you again, but it’s not working the way I would like. I would like to do this: the administrator writes the command “sm_activatebutton 1 (or 2, 3, etc.)” And, for example, 1 - button_open, 2 - button_close, 3 - button_slay etc. Not to write every time the name of the buttons like "sm_activatebutton button_open" |
Re: How to activate func_button
AcceptEntityInput(ent, "Use", client);
ent being the button, client being the one pressing the button |
Re: How to activate func_button
Quote:
Code:
AcceptEntityInput(iEntID, "Press", client, iEntID); |
All times are GMT -4. The time now is 20:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.