View Single Post
danhavoc
Junior Member
Join Date: Jun 2020
Old 06-17-2020 , 15:54   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #850

I'm not understanding something.
!votemenu -> change map to -> is returning an error

Code:
[SM] No admins found to approve the vote. Cancelled the vote.
two problems:

1) I am an admin set via, and I can change the map by typing !admin and changing it from there

2) I don't want to require approval and I can't figure out what I need to change

admin was set via "yoursteamid" "99:z" method in /addons/sourcemod/configs/admins_simple.ini

/tf/addons/sourcemod/configs/customvotes/playervotes.cfg :

Code:
"Votes"
{
	"voteban"
	{
		"title"		"Ban #1 for 30 minutes?"
		"type"		"chat"
		"command"	"sm_ban_auto #1 30 \"Banned by vote.\""
		"trigger"
		{
			"command"	"voteban"
			"notice"	"%u voted to ban #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votekick"
	{
		"title"		"Kick #1?"
		"type"		"chat"
		"command"	"sm_kick #1 \"Kicked by vote.\""
		"trigger"
		{
			"command"	"votekick"
			"notice"	"%u voted to kick #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votemute"
	{
		"title"		"Mute #1?"
		"type"		"chat"
		"command"	"sm_mute #1"
		"trigger"
		{
			"command"	"votemute"
			"notice"	"%u voted to mute #1"
			"percent"	"70"
			"count"		"4"
		}
		"params"
		{
			"1"			"player"
		}
	}
	"votealltalk"
	{
		"title"		"Turn alltalk #1?"
		"type"		"chat"
		"command"	"sv_alltalk #1"
		"trigger"
		{
			"command"	"votealltalk"
			"notice"	"%u wants to turn alltalk #1"
			"percent"	"60"
		}
		"params"
		{
			"1"			"onoff"
		}
	}
	"votemap"
	{
		"title"		"Change map to #1?"
		"type"		"chat"
		"command"	"changelevel #1"
		"trigger"
		{
			"command"	"votemap"
			"notice"	"%u wants to change the map to #1"
			"delay"		"300"
			"percent"	"60"
			"count"		"4"
		}
		"params"
		{
			"1"		"mapcycle"
		}
	}
}
danhavoc is offline