Quote:
Originally Posted by Hoto Cocoa
Hey my server is running it and only four of the votes work...
PHP Code:
"Custom Votes"
{
"Turn alltalk {on|off}"
{
"type" "simple"
"vote" "1"
"ratio" "0.6"
"minimum" "4"
"command" "sv_alltalk {on|off}"
"cvar" "sv_alltalk"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 发起投票:全局通话 {on|off}."
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "votealltalk"
}
"Kick Player"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.6"
"command" "sm_kick {TARGET_NAME}"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 发起投票:踢出 {TARGET_NAME}."
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "votekick"
}
"Ban player for 30 mins"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.8"
"command" "sm_ban {TARGET_ID} 30"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 发起投票:封禁 {TARGET_NAME} 30分钟"
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "voteban"
}
"Mute Player"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.6"
"command" "sm_silence "{TARGET_ID}""
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 发起投票:禁言 {TARGET_NAME}."
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "votemute"
}
"Make player cute"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.5"
"command" "sm_rename {TARGET_ID} _(:з」∠)_"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 想把 {TARGET_NAME} 变成马猴烧酒"
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "votecute"
}
}
The votemenu ends up on the "muteplayer" vote.
I don't know where I did wrong..Can anyone help me?
|
You can try to "Mute Player" like this:
PHP Code:
"Mute Player"
{
"type" "players"
"vote" "1"
"minimum" "4"
"ratio" "0.6"
"command" "sm_silence {TARGET_ID}"
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) 发起投票:禁言 {TARGET_NAME}."
"call_notify" "[SM] 投票为 {yes|no}."
"pass_notify" "[SM] 投票通过"
"fail_notify" "[SM] 投票失败 收到{VOTE_AMOUNT} 需要: {VOTE_REQUIRED}"
"chattrigger" "votemute"
}
__________________