Skip to content

Commit

Permalink
Rename voteextend.sp and associated files to match convention
Browse files Browse the repository at this point in the history
  • Loading branch information
infra committed Mar 2, 2022
1 parent def843c commit b55e45c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ public Plugin myinfo =
{
name = "SurfTimer Vote Extend",
author = "SurfTimer Contributors",
description = "Allows players to vote extend the map",
description = "Allows players to vote extend map timelimit",
version = "1.8.3",
url = "https://github.com/qawery-just-sad/surftimer-mapchooser"
url = "https://github.com/1zc/surftimer-mapchooser"
};

public void OnPluginStart()
{

LoadTranslations("voteextend.phrases");
LoadTranslations("st-voteextend.phrases");

RegConsoleCmd("sm_ve", Command_VoteExtend, "SurfTimer | Vote to extend the map");
RegConsoleCmd("sm_voteextend", Command_VoteExtend, "SurfTimer | Vote to extend the map");
RegConsoleCmd("sm_extend", Command_VoteExtend, "SurfTimer | Vote to extend the map");

AutoExecConfig_SetCreateDirectory(true);
AutoExecConfig_SetCreateFile(true);
AutoExecConfig_SetFile("vote-extend");
AutoExecConfig_SetFile("st-vote-extend");

g_hMaxVoteExtends = AutoExecConfig_CreateConVar("ck_max_vote_extends", "2", "The max number of VIP vote extends", FCVAR_NOTIFY, true, 0.0);
g_hVoteExtendTime = AutoExecConfig_CreateConVar("ck_vote_extend_time", "10.0", "The time in minutes that is added to the remaining map time if a vote extend is successful.", FCVAR_NOTIFY, true, 0.0);
Expand Down

0 comments on commit b55e45c

Please sign in to comment.