top15 colors/restartround

В този раздел можете да подавате всякакви заявки за намиране, изработка или преработка на плъгини/модове.

Модератори: Extreme, Extreme, Extreme, Extreme, Extreme, Extreme, Extreme

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

top15 colors/restartround

Мнение от OciXCrom » 19 Фев 2019, 20:10

Код за потвърждение: Избери целия код

#include <amxmodx>

new bool:g_bRestarted

public plugin_init()
{
	register_plugin("Restart First Round", "1.0", "OciXCrom")
	register_logevent("OnRoundEnd", 2, "1=Round_End")
}

public OnRoundEnd()
{
	if(!g_bRestarted)
	{
		g_bRestarted = true
		server_cmd("sv_restartround 1")
	}
}

Аватар
maNIa
Извън линия
Потребител
Потребител
Мнения: 2
Регистриран на: 18 Фев 2022, 18:45

top15 colors/restartround

Мнение от maNIa » 18 Фев 2022, 18:48

OciXCrom написа: 19 Фев 2019, 20:10

Код за потвърждение: Избери целия код

#include <amxmodx>

new bool:g_bRestarted

public plugin_init()
{
	register_plugin("Restart First Round", "1.0", "OciXCrom")
	register_logevent("OnRoundEnd", 2, "1=Round_End")
}

public OnRoundEnd()
{
	if(!g_bRestarted)
	{
		g_bRestarted = true
		server_cmd("sv_restartround 1")
	}
}
Hi OciXCrom, maybe is not to late to reply here yet :D
This plugin I was looking for a long time, only one found on internet, but only compiled amxx, and has some text in it which I doesn;t want it.
Your's seems to be very easy plugin and very usefull, but can you please add a line there to print some lines into chat?

like:

[Restart Round] : LIVE * LIVE * LIVE * LIVE [Restart Round] : LIVE * LIVE * LIVE * LIVE [Restart Round] : LIVE * LIVE * LIVE * LIVE [Restart Round] : LIVE * LIVE * LIVE * LIVE

Thank you very much in advance.

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

top15 colors/restartround

Мнение от OciXCrom » 18 Фев 2022, 21:33

Код за потвърждение: Избери целия код

#include <amxmodx>

#tryinclude <cromchat>

#if !defined _cromchat_included
	#error "cromchat.inc" is missing in your "scripting/include" folder. Download it from: "https://amxx-bg.info/inc/"
#endif

new bool:g_bRestarted

public plugin_init()
{
	register_plugin("Restart First Round", "1.0", "OciXCrom")
	register_logevent("OnRoundEnd", 2, "1=Round_End")
	register_logevent("OnRoundStart", 2, "0=World triggered", "1=Round_Start")
}

public OnRoundEnd()
{
	if(!g_bRestarted)
	{
		g_bRestarted = true
		server_cmd("sv_restartround 1")
	}
}

public OnRoundStart()
{
	if(g_bRestarted)
	{
		for(new i; i < 4; i++)
		{
			client_print(0, print_chat, "&x04[Restart Round] &x01: &x03LIVE * &x04LIVE * &x01LIVE * &x03LIVE")
		}
	}
}

Публикувай отговор
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Заявки за плъгини”

Кой е на линия

Потребители разглеждащи този форум: Google [Bot] и 43 госта