Quote:
Originally Posted by edon1337
1) If the code is uncompleted, how can we help ?
|
I think I explained what the problem thing that is not clear?
Quote:
Originally Posted by edon1337
2) Why to use tasks when you have events ?
|
bcz i said up :
dont have events
Quote:
Originally Posted by edon1337
3) Indent your code properly.
|
i dont share the code to fix it ..only to illustrate the problem bcz the code work for me perfect only this problem as i said up (when players deconnected for any (teams == 0)
Quote:
Originally Posted by edon1337
4) Your set_task usage is wrong, you have to use "b" flag to make it repeatable.
|
Yes myb but i used other way look in code :
Quote:
PHP Code:
if(roundtime) set_task(1.0,"round_think") else round_end(0)
|
Quote:
Originally Posted by edon1337
5) No need to return PLUGIN_HANDLED.
|
I do not use it?
Quote:
Originally Posted by edon1337
If I understood right, you just want to check when Zombies/Humans win so you can display a HUD message ?
|
no not exactly what you understood .. and about hud msg look in round_end i used it ?
I hope that the idea becomes clear
__________________