Raised This Month: $12 Target: $400
 3% 

Help Menu v0.3 (7/10)


Post New Thread Reply   
 
Thread Tools Display Modes
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 04-06-2019 , 06:55   Re: Help Menu v0.3 (7/10)
Reply With Quote #191

thx man , work plugin.

Can we show more than 6 rows display chat?

exemple:
More 10 rows
"Server Rules"
{
"title" "Server Rules"
"type" "text"
"items"
{
"" "- Don't be an asshole"
"" "- No racism or bigotry"
"" "- No porn or offensive sprays"
"" "- No mic or chat spamming"
"" "- Hacks or exploits will get you banned"
"" "- Don't be an asshole"
"" "- No racism or bigotry"
"" "- No porn or offensive sprays"
"" "- No mic or chat spamming"
"" "- No mic or chat spamming"
}
}

next page Server rules

"" "- Don't be an asshole"
"" "- No racism or bigotry"
"" "- No porn or offensive sprays"
"" "- No mic or chat spamming"
__________________
respecta si vei fi respectat

Last edited by bebe9b; 04-06-2019 at 07:15.
bebe9b is offline
emsit
Member
Join Date: Apr 2015
Old 04-06-2019 , 08:26   Re: Help Menu v0.3 (7/10)
Reply With Quote #192

I think it's not possible.
It is given by L4D2 and sourcemod.
__________________

emsit is offline
Stryju
New Member
Join Date: Apr 2016
Old 06-06-2019 , 12:32   Re: Help Menu v0.3 (7/10)
Reply With Quote #193

I have problem with compile this plugin

Code:
/home/groups/sourcemod/upload_tmp/phpVUQErY.sp(202) : error 076: syntax error in the expression, or invalid function call
/home/groups/sourcemod/upload_tmp/phpVUQErY.sp(445) : warning 203: symbol is never used: "Help_CustomMenuHandler"
/home/groups/sourcemod/upload_tmp/phpVUQErY.sp(445) : warning 203: symbol is never used: "Help_MainMenuHandler"
/home/groups/sourcemod/upload_tmp/phpVUQErY.sp(445) : warning 203: symbol is never used: "Help_MenuHandler"

1 Error.
Any one can repair this?

THX!
Stryju is offline
BloodyBlade
Senior Member
Join Date: Feb 2018
Old 09-16-2019 , 02:59   Re: Help Menu v0.3 (7/10)
Reply With Quote #194

* Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
It works fine for me.
Attached Files
File Type: sp Get Plugin or Get Source (helpmenu.sp - 847 views - 9.9 KB)
File Type: cfg helpmenu.cfg (670 Bytes, 361 views)
BloodyBlade is offline
TiTz
Member
Join Date: Jan 2020
Old 01-26-2020 , 16:56   Re: Help Menu v0.3 (7/10)
Reply With Quote #195

I uninstalled this menu removed these files from these locations.
helpmenu.smx -> addons/sourcemod/plugins/
helpmenu.sp -> addons/sourcemod/scripting/
helpmenu.cfg -> addons/sourcemod/configs/

But I still get press H for help when i connect to my server ?

Any help please ?
TiTz is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 04-06-2020 , 04:09   Re: Help Menu v0.3 (7/10)
Reply With Quote #196

I've updated my version to 0.6, updated syntax, methodmaps, and enum struct.

Project Here
__________________
JoinedSenses is offline
Pelee
Member
Join Date: May 2020
Old 09-26-2020 , 22:59   Re: Help Menu v0.3 (7/10)
Reply With Quote #197

Can someone make the menu show once the player connects to the server?
Pelee is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 12-09-2020 , 07:59   Re: Help Menu v0.3 (7/10)
Reply With Quote #198

Help Menu Improved v0.8 (2022/11/29)
In-game Help Menu

- Convert All codes to new syntax.
- Translation support.
- Add more convars
- Add more commands

-Image-


-Example-
in configs/helpmenu.cfg
Code:
"Help"
{
	"MENU1"
	{
		"title"		"MENU1"
		"type"		"text"      //<-- choose text or list
		"items"
		{
			""		"AAA"
			""		"BBB"
		}
	}
	"Chat Commands"
	{
		"title"		"Chat Commands"
		"type"		"list"       //<-- choose text or list
		"items"
		{
			  "say !help"		"Default Description"
		}
	}
}
in translations/helpmenu.phrases.txt
Code:
"Phrases"
{
	"MENU1"
	{
		"en"			"Write down translation for MENU1 Title"
	}
	"AAA"
	{
		"en"			"Write down translation for AAA description"
	}
	"BBB"
	{
		"en"			"Write down translation for BBB description"
	}
	"Chat Commands"
	{
		"en"			"Write down translation for Chat Commands Title"
	}
	"say !help"
	{
		"en"			"Write down translation for !help command description"
	}
}
-Convar-
Spoiler


-Command-
Spoiler


-Edit Github-
Latest version always here
__________________

Last edited by HarryPotter; 11-29-2022 at 06:22. Reason: v0.8 release
HarryPotter is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 12-09-2020 , 15:12   Re: Help Menu v0.3 (7/10)
Reply With Quote #199

Quote:
Originally Posted by HarryPotter View Post
Help Menu Improved v0.6 (2020/12/9)
In-game Help Menu

- Convert All codes to new syntax.
- Translation support.

-Image-


-Example-
configs/helpmenu.cfg
Code:
"Help"
{
	"Server Rules"
	{
		"title"		"Server Rules"
		"type"		"text"
		"items"
		{
			""		"- Don't be an asshole"
			""		"- No mic or chat spamming"
			""		"- Hacks or exploits will get you banned"
		}
	}
	"Chat Commands"
	{
		"title"		"Chat Commands"
		"type"		"list"
		"items"
		{
			  "say !buy"		"!buy - Purchase items"
			  "say !s"			"!s - Become Spectator"
			  "say !ji"			"!ji - Join Infected"
			  "say !join"		"!join - Join Survivor"
		}
	}
	"Human Play"
	{
		"title"		"Human Play"
		"type"		"text"
		"items"
		{
			 "" "Human Play1"
		}
	}
}
translations/helpmenu.phrases.txt
Code:
"Phrases"
{
	"Server Rules"
	{
		"en"			"Server Rules"
		"zho"			"伺服器守法"
		"chi"			"服务器规则"
	}
	"- Don't be an asshole"
	{
		"en"			"- Don't be an asshole"
		"zho"			"- 別當個混蛋就行"
		"chi"			"- 别当傻B就行"
	}
	"- No mic or chat spamming"
	{
		"en"			"- No mic or chat spamming"
		"zho"			"- 別一直MIC開著或聊天視窗洗版"
		"chi"			"- 别一直MIC开着或聊天窗口刷屏"
	}
	"- Hacks or exploits will get you banned"
	{
		"en"			"- Hacks or exploits will get you banned"
		"zho"			"- 任何作弊行為將以永久封禁處分"
		"chi"			"- 任何作弊行为将被永久封禁处分"
	}
	"Welcome to Official Instructions"
	{
		"en"			"Welcome to Official Server\nLeft 4 Dead 2: AAAAAA (Peko)\nby Harry"
		"zho"			"歡迎來到本伺服器\n惡靈勢力2: 哈利66666模式\nby Harry"
		"chi"			"欢迎来到本服务器\n求生之路2: 哈利23333模式\nby Harry"
	}
	"Map Rotation"
	{
		"en"			"Map Rotation"
		"zho"			"地圖輪換"
		"chi"			"地图轮换"
	}
	"List Online Admins"
	{
		"en"			"List Online Admins"
		"zho"			"在線管理員"
		"chi"			"在线管理员"		
	}
	"Join our steam group"
	{
		"en"			"Join our steam group"
		"zho"			"加入我們的Steam群組"	
		"chi"			"加入我们的Steam群组"
	}
	"Current Rotation"
	{
		"#format"		"{1:i}"
		"en"			"Current Rotation ({1} maps)"
		"zho"			"地圖輪換 ({1} 張)"
		"chi"			"地图轮换 ({1} 张)"
	}
	"Description"
	{
		"en"			"Description"
		"zho"			"描述"
		"chi"			"描述"
	}
	"Chat Commands"
	{
		"en"			"Chat Commands"
		"zho"			"可使用的指令列表"
		"chi"			"可使用的指令列表"
	}
	"say !buy"
	{
		"en"			"!buy - Purchase items"
		"zho"			"!buy - 購買商品"
		"chi"			"!buy - 购买商品"
	}
	"say !s"
	{
		"en"			"!s - Become Spectator"
		"zho"			"!s - 成為旁觀者"
		"chi"			"!s - 成为旁观者"
	}
	"say !ji"
	{
		"en"			"!ji - Join Infected"
		"zho"			"!ji - 加入特感陣營"
		"chi"			"!ji - 加入特感阵营"
	}
	"say !join"
	{
		"en"			"!join - Join Survivor"
		"zho"			"!join - 加入人類陣營"
		"chi"			"!join - 加入人类阵营"
	}
	"Human Play"
	{
		"en"			"Human Play"
		"zho"			"人類陣營生存指南"
		"chi"			"人类阵营生存指南"
	}
	"Human Play1"
	{
		"en"			"- Team: Survive and make it to saferoom, Stick together and always help your teammate"
		"zho"			"- 合作玩法: 倖存下來抵達終點,團結一致、互相合作才能通關"
		"chi"			"- 合作玩法: 幸存下来抵达终点,团结一致、互相合作才能通关"
	}
}
-Convar-
Spoiler


-Command-
Spoiler


-Edit Github-
Latest version always here
I did not understand how the configuration file works with the translation file, the same way I configure helpmenu.cfg, do I have to do it in the same way in the translation file ?, please explain further.
Rugal is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 12-10-2020 , 04:23   Re: Help Menu v0.3 (7/10)
Reply With Quote #200

Quote:
Originally Posted by Rugal View Post
I did not understand how the configuration file works with the translation file, the same way I configure helpmenu.cfg, do I have to do it in the same way in the translation file ?
Yes,

in configs/helpmenu.cfg
Code:
"Help"
{
	"MENU1"
	{
		"title"		"MENU1"
		"type"		"text"
		"items"
		{
			""		"AAA"
			""		"BBB"
		}
	}
}
in translations/helpmenu.phrases.txt
Code:
"Phrases"
{
	"MENU1"
	{
		"en"			"Write down translation for MENU1 Title"
	}
	"AAA"
	{
		"en"			"Write down translation for AAA description"
	}
	"BBB"
	{
		"en"			"Write down translation for BBB description"
	}
}
__________________

Last edited by HarryPotter; 12-10-2020 at 04:24.
HarryPotter is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode