add sv_votesrequired description
This commit is contained in:
parent
231f2c2d69
commit
41039f9b19
@ -335,9 +335,8 @@ namespace Components
|
|||||||
// Replicate g_allowVote
|
// Replicate g_allowVote
|
||||||
Utils::Hook::Set<std::uint32_t>(0x5E3A4F, Game::DVAR_INTERNAL | Game::DVAR_CODINFO);
|
Utils::Hook::Set<std::uint32_t>(0x5E3A4F, Game::DVAR_INTERNAL | Game::DVAR_CODINFO);
|
||||||
|
|
||||||
Events::OnDvarInit([]()
|
Events::OnDvarInit([]{
|
||||||
{
|
Vote::SV_VotesRequired = Game::Dvar_RegisterInt("sv_votesRequired", 0, 0, 18, Game::DVAR_NONE, "Set the amount of votes required for a vote to pass.\n0 = (players / 2) + 1");
|
||||||
Vote::SV_VotesRequired = Game::Dvar_RegisterInt("sv_votesRequired", 0, 0, 18, Game::DVAR_NONE, "");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
ClientCommand::Add("callvote", Cmd_CallVote_f);
|
ClientCommand::Add("callvote", Cmd_CallVote_f);
|
||||||
|
Loading…
Reference in New Issue
Block a user