| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@Mistrick how do you think, maybe add a console message for player? |
Sorry, something went wrong.
| } | ||
| public concmd_stopvote(id, level, cid) | ||
| { | ||
| if(is_vote_finished()) { |
There was a problem hiding this comment.
is_vote_finished() -> !is_vote_started()
Sorry, something went wrong.
There was a problem hiding this comment.
why
Sorry, something went wrong.
| } | ||
| public concmd_startvote(id, level, cid) | ||
| { | ||
| if(is_vote_started() || is_vote_finished() || is_vote_will_in_next_round()) { |
There was a problem hiding this comment.
Вынеси is_vote_started() в отдельное условие.
Для is_vote_finished() || is_vote_will_in_next_round() добавь квар.
Sorry, something went wrong.
There was a problem hiding this comment.
Что должен делать квар?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
We need to add restrictions in cmd start and stop vote. Now they can cause bugs.
For example: the voting is starts in new round. If now make mapm_stop_vote, then mp_timelimit will stay "0"