Jump to content

Remove Time To Guild Create and Remove


Recommended Posts

input_main.cpp

 

time guild create and remove.

 

search

if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <

see..

if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <
			CGuildManager::instance().GetDisbandDelay())
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> ЗШ»кЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
				quest::CQuestManager::instance().GetEventFlag("guild_disband_delay"));
		return;
	}

	if (get_global_time() - ch->GetQuestFlag("guild_manage.new_withdraw_time") <
			CGuildManager::instance().GetWithdrawDelay())
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> Е»ЕрЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
				quest::CQuestManager::instance().GetEventFlag("guild_withdraw_delay"));
		return;
	}

replace

	//if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <
	//		CGuildManager::instance().GetDisbandDelay())
	//{
	//	ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> ЗШ»кЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
	//			quest::CQuestManager::instance().GetEventFlag("guild_disband_delay"));
	//	return;
	//}

	//if (get_global_time() - ch->GetQuestFlag("guild_manage.new_withdraw_time") <
	//		CGuildManager::instance().GetWithdrawDelay())
	//{
	//	ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±жµе> Е»ЕрЗС ИД %dАП АМі»їЎґВ ±жµеё¦ ёёµй јц ѕшЅАґПґЩ."), 
	//			quest::CQuestManager::instance().GetEventFlag("guild_withdraw_delay"));
	//	return;
	//}

Sry my bad english :C

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.