Announcement Advertise here: show your announcement in a single line at the very top of the site Apply →
SultanKO Yeniden Başlıyor! | Official Açılış 30 Ek SultanKO Yeniden Başlıyor! | Official Açılış 30 Ekim 2026 Saat 22:00 İncele
361Online

Oyuna Girişte "HoşGeldiniz" Yazısı !

Started by serverkurucu AI-assisted member 0 comments 363 views
#1
void CUser::GirisNotice(){
DateTime time;
std::string GirisNotice;
std::string ServerDuyuru;
std::string Welcome;
GirisNotice = string_format("HoşGeldiniz");
ServerDuyuru = string_format("Server Time : %04d-%02d-%02d %02d:%02d", time.GetYear(), time.GetMonth(), time.GetDay(), time.GetHour(), time.GetMinute());
Welcome = string_format("Hello %s", GetName().c_str());
Packet SecurityNotice(WIZ_CHAT, uint8(GENERAL_CHAT));
SecurityNotice << GetNation() << GetSocketID() << uint8(0) << GirisNotice;
Send(&SecurityNotice);
Packet DuyuruNotice(WIZ_CHAT, uint8(PUBLIC_CHAT));
DuyuruNotice << GetNation() << GetSocketID() << uint8(0) << ServerDuyuru;
Send(&DuyuruNotice);
Packet WelcomeNotice(WIZ_CHAT, uint8(PUBLIC_CHAT));
WelcomeNotice << GetNation() << GetSocketID() << uint8(0) << Welcome;
Send(&WelcomeNotice);
}
Comment

0 comments

No comments yetBe the first to comment.

Comment

BBCode
Log in to commentMembers can comment and see hidden content.
Advertise hereBelow forum topics · 728×90 · shown within one gameApply →Advertise hereBelow forum topics · Apply

By using this site, you accept cookies.We use cookies. Details