[HELP] Compare variables.
I'm working in a plugin with a special day votes, and i have a question about it. Example:
Code:
Someone can help me? Thanks for your time. :) |
Re: [HELP] Compare variables.
Just use the variable since it's global. If that's not what you wanted to hear, you need to explain better what you actually want.
|
Re: [HELP] Compare variables.
Ok, this plugin is to a mod created for me ( Jailbreak: Uprising ), at the days 5..15..25..35..etc. In this day, all the players are frozen and the vote is started. When the vote finish the option with more votes starts.
|
Re: [HELP] Compare variables.
You want only for three options, or n options ?
If you only need for three options, use this: PHP Code:
With n options (maybe there is a better way somewhere): PHP Code:
|
Re: [HELP] Compare variables.
That is impressive, thanks Kiske and about your question is to n options.
|
Re: [HELP] Compare variables.
Please mind that your for loop in test_plugin( ) is wrong. If you use this way to loop through players you need to loop from 1 to 32 and not from 0 to 32.
|
All times are GMT -4. The time now is 16:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.