wie muss ich den code umschreiben das er klappt
Code
- void CAutoNotice::HourlyAnnouncement(int minute, int second)
- {
- if ((bool)AutoNoticeSettings::ENABLE_HOURLY_ANNOUCEMENT == false)
- return;
- if (second != 00)
- return;
- if ((int)AutoNoticeSettings::HOURLY_MINUTE == minute)
- {
- // to create new line of message simply add new SendNoticeLine function here
- SendNoticeLine("Don't feed the yangsellers. Buying from the bots damage the");
- SendNoticeLine("server economy, spoils gameplay and you will end your game banned for it!");
- SendNoticeLine("Visit our webpages! www.servername.com | ts3.servername.com | forum.servername.com ");
- }
- }