31.08.2015, 08:51
Quote:
I have a working system of war. But if you give/attack a particular turf, I set the vw 1, but if I die sets vw 0. I wish that when you kill you may not change from vw 1 in 0. to remain until vw 1, ends the war.
http://pastebin.com/SWLQP9Qy |
So, just remove this part, where You set vw to 0 in OnPlayerDeath callback, and it will remain 1.
Obviously, set it to 0 in proper part of code responsible for end of the event.
Greetings