Hello friends!
On the server, I would like to activate pvp mode at night!
I wrote a small code that is below! Night comes, but pvp does not work = (
In the logs, the error does not show.
Explain to me please, what's my problem?
Thank you
- script DayNightPvP-1,{OnClock0000:
announce "Morning! The world has become safer!",bc_all,0xEEEEEE;
day;
setbattleflag "pk_mode",0;
atcommand "@reloadbattleconf";
end;OnClock0600:
announce "Night! Outside the city it became dangerous!",bc_all,0xEEEEEE;
night;
setbattleflag "pk_mode",1;
atcommand "@reloadbattleconf";
end;}
Hello friends!
On the server, I would like to activate pvp mode at night!
I wrote a small code that is below! Night comes, but pvp does not work = (
In the logs, the error does not show.
Explain to me please, what's my problem?
Thank you
Share this post
Link to post
Share on other sites