User buy hook [ Need help ]
A very interesting thing. Invoking the plugin is once per round and only one player! How can this be?
PHP Code:
Who can help - that cake:):avast: menu get from http://forums.alliedmods.net/showthr...6364#BasicMenu |
Re: Plugin works once per round? O_o
You can make a new global bool and set it false at round start.
Then when the menu is called, check if bool is false. If it's false, he hasn't used the menu yet, show the menu and set the bool true. And you could create the awesome menu inside the clcmd_func along with the menu_go(id) function. And you shouldn't just copy-paste a tutorial, you should read, understand and try to make it yourself. |
Re: Plugin works once per round? O_o
You do not understand. I do not want to plug used once per round. And I know without the article as to make the menu. I have that plugin written by me working again on the round for one player. I want to help with the correction.
Since I do not see an error in the text that I posted. |
Re: Plugin works once per round? O_o
Quote:
What he said is what you need to do to achieve what you want, you're just being ignorant. |
Re: Plugin works once per round? O_o
Well I can see, I figured out or not?
I wrote a plugin. Wrote his first with 0. He worked for 1 player per round. I decided that I might not correctly written menu, so he took a menu with a guide. But it's not on the menu turned out to be. The point may be that I command buy for returning Handled |
Re: Plugin works once per round? O_o
to make it work do something like this:
PHP Code:
|
Re: Plugin works once per round? O_o
Hmm. Or translater, distorts my message or you do not understand ...
I DO NOT WANT that he worked only 1 time. I want it to work all the time! |
Re: Plugin works once per round? O_o
Then what's wrong with the code you posted ?
|
Re: Plugin works once per round? O_o
Quote:
|
Re: Plugin works once per round? O_o
Actually I'm asking what is wrong in my code that causes a time to round it to work?
|
| All times are GMT -4. The time now is 01:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.