nuclearsilo583/zephyrus-store-preview-new-syntax

saysound problem

ok2217221791 opened this issue · 8 comments

[SM] No commands found for: Store - Sound item module
can quickly trigger it??
Just like the button J cheer

what do you mean? Saysound cooldown applies for each player individually. You can disable cooldown for it by remove these link

Saysound it similar to it
https://forums.alliedmods.net/showthread.php?t=59952&highlight=cheer

This can be done through the cheer console command which most people will already have mapped to j

shopSaysound command what is
Instead of needing to use it every !shore option 》Accessories 》saysound

Saysound already have chat trigger config. To use it with chat command without having to open the menu. Add a desire trigger for the item you want. For example "trigger" "cheer"
As for a random cheer within a single trigger. You need to code it.

OK
No messages ? : player XXX Issue sound
player XXX Issue jeer

sorry I dont quite understand what you are trying to say. Can you give me your item config.

"Accessories"
{
	"Say Sounds"
	{
		"description"					"    Say it loud"
		"shortcut"						"saysound"
                    
		"Cheers"
		{
			"description"				"    Pay one time use forever"
			"Cheer #1"
			{
				"sound"					"cheer/cheer_1.wav"
				 "trigger"                  "cheer"
				"unique_id"				"uid_saysound_cheer1"
				"cooldown"				"30"
				"volume"				"0.400000" // Volume in float (0.1 = 10%, 1 = 100%)
				"origin"				"1" // 1 = Sound From global world, 2 = Sound From local player, 3 = Sound From player voice (recommend to use value 2)
				"price"					"10"
				"type"					"saysound"
				"preview"				"1"
			}
			"Cheer #2"
			{
				"sound"					"cheer/cheer_2.wav"
				 "trigger"                          "cheer"
			
				"unique_id"				"uid_saysound_cheer2"
				"volume"				"0.500000"
				"origin"				"1"
				"cooldown"				"30"
				"type"					"saysound"
				"preview"				"1"
				"Plans"
				{
					"1 day"
					{
						"price" "4000"
						"time" "86400"
					}
					"1 week"
					{
						"price" "25000"
						"time" "604800"
					}
					"30 days"
					{
						"price" "70000"
						"time" "2592000"
					}
				}
			}
			
		}
	}

sorry I dont quite understand what you are trying to say. Can you give me your item config.

producing sound No Annncement message :
For example [store] player XXX Issue cheer

if you want a message in chat. You need to code it. And also single "trigger" with multiple items is not present in the current build. You need to add it.