Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiam
NoCommExtendVote
Commits
f78ba4fb
Commit
f78ba4fb
authored
Oct 20, 2017
by
Neoony
Browse files
v0.9 WIP
- Updated version handling, added nc_version
parent
febd5851
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
f78ba4fb
...
...
@@ -89,4 +89,5 @@
**v0.9 WIP**
- Added updater support (https://git.empiresmod.com/sourcemod/Updater)
- Ported to SourcePawn Transitional Syntax
\ No newline at end of file
- Ported to SourcePawn Transitional Syntax
- Updated version handling, added nc_version
\ No newline at end of file
README.md
View file @
f78ba4fb
# No Commander Extend Vote
**Extend commander vote when nobody opted in and someone voted for him and much more**
Latest
**dev**
version: https://sourcemod.docs.empiresmod.com/no_commander_extend_vote/NoCommExtendVote.smx
Latest
**dev**
version: https://sourcemod.docs.empiresmod.com/no_commander_extend_vote/
addons/sourcemod/plugins/
NoCommExtendVote.smx
*Created by*
**Neoony**
...
...
@@ -89,6 +89,7 @@ Latest **dev** version: https://sourcemod.docs.empiresmod.com/no_commander_exten
-
Enable alltalk while both teams have no comms.
-
Config file.
-
Compatible with VoteTime or PUG plugin
-
Updater support (https://git.empiresmod.com/sourcemod/Updater)
--
...
...
@@ -223,4 +224,5 @@ I intend to keep surrender or comm lock as a separate plugins.
**v0.9 WIP**
-
Added updater support (https://git.empiresmod.com/sourcemod/Updater)
-
Ported to SourcePawn Transitional Syntax
\ No newline at end of file
-
Ported to SourcePawn Transitional Syntax
-
Updated version handling, added nc_version
\ No newline at end of file
addons/sourcemod/scripting/NoCommExtendVote.sp
View file @
f78ba4fb
...
...
@@ -156,6 +156,8 @@ public void OnPluginStart()
nc_vt = CreateConVar("nc_vt", "1", "Enable(1)/Disable(0) If this is enabled and you use VoteTime pause, NCEV will stop extending.");
nc_pugc = CreateConVar("nc_pugc", "1", "Enable(1)/Disable(0) compatibility with ScardyBobs PUG plugin.");
RegConsoleCmd("nc_version", Command_PluginVer, "NCEV plugin version");
//Find all console variables
nc_setvotetime = FindConVar("emp_sv_vote_commander_time");
nc_allowspec = FindConVar("emp_allowspectators");
...
...
@@ -206,7 +208,7 @@ public void OnLibraryAdded(const char[] name)
public void OnClientPutInServer(int Client)
{
PrintToChat(Client, "\x04[NCEV] \x01This server is running\x04 [No Comm Extend Vote]\x01
v0.9 WIP
by\x07ff6600 Neoony");
PrintToChat(Client, "\x04[NCEV] \x01This server is running\x04 [No Comm Extend Vote]\x01
%s
by\x07ff6600 Neoony"
, PluginVer
);
}
public void OnMapStart()
...
...
@@ -1322,4 +1324,9 @@ public Action CommChkInfo(Handle timer)
}
}
}
}
public Action Command_PluginVer(int client, int args)
{
PrintToConsole(client,"%s",PluginVer);
}
\ No newline at end of file
updater.txt
View file @
f78ba4fb
...
...
@@ -10,6 +10,7 @@
"Notes" "[NCEV] NoCommExtendVote. v0.9 WIP Changelog:"
"Notes" "- Added updater support (https://git.empiresmod.com/sourcemod/Updater)"
"Notes" "- Ported to SourcePawn Transitional Syntax"
"Notes" "- Updated version handling, added nc_version"
}
"Files"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment