Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
sourcemod
empfun
Commits
903b4119
Commit
903b4119
authored
Apr 23, 2020
by
Mikleo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
75616bd0
Pipeline
#9499
passed with stages
in 15 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
dist/addons/sourcemod/plugins/empfun.smx
dist/addons/sourcemod/plugins/empfun.smx
+0
-0
dist/addons/sourcemod/scripting/empfun.sp
dist/addons/sourcemod/scripting/empfun.sp
+12
-2
dist/updater.txt
dist/updater.txt
+1
-1
No files found.
dist/addons/sourcemod/plugins/empfun.smx
View file @
903b4119
No preview for this file type
dist/addons/sourcemod/scripting/empfun.sp
View file @
903b4119
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include <SteamWorks>
#include <SteamWorks>
#define PluginVersion "1.0
3
"
#define PluginVersion "1.0
4
"
float pVersion;
float pVersion;
// note linearmap field is unstable
// note linearmap field is unstable
...
@@ -192,6 +192,8 @@ public void OnPluginStart()
...
@@ -192,6 +192,8 @@ public void OnPluginStart()
RegAdminCmd("sm_settickets", Command_Set_TeamData, ADMFLAG_SLAY);
RegAdminCmd("sm_settickets", Command_Set_TeamData, ADMFLAG_SLAY);
RegAdminCmd("sm_setresources", Command_Set_TeamData, ADMFLAG_SLAY);
RegAdminCmd("sm_setresources", Command_Set_TeamData, ADMFLAG_SLAY);
RegAdminCmd("sm_gamedesc", Command_Set_GameDesc, ADMFLAG_SLAY);
RegConsoleCmd("sm_scenario", Command_Scenario_Info);
RegConsoleCmd("sm_scenario", Command_Scenario_Info);
...
@@ -4099,7 +4101,7 @@ bool LoadScenario(int client,char[] filename)
...
@@ -4099,7 +4101,7 @@ bool LoadScenario(int client,char[] filename)
if(LibraryExists("SteamWorks"))
if(LibraryExists("SteamWorks")
&& StrContains(filename,"override") == -1
)
{
{
char description[64];
char description[64];
currentScenarioKV.GetString("Description",description,sizeof(description));
currentScenarioKV.GetString("Description",description,sizeof(description));
...
@@ -5752,6 +5754,14 @@ public Action Command_Set_TeamData(int client, int args)
...
@@ -5752,6 +5754,14 @@ public Action Command_Set_TeamData(int client, int args)
return Plugin_Handled;
return Plugin_Handled;
}
}
public Action Command_Set_GameDesc(int client, int args)
{
char arg[128];
GetCmdArg(1, arg, sizeof(arg));
SteamWorks_SetGameDescription(arg);
return Plugin_Handled;
}
void reloadMapConfig()
void reloadMapConfig()
{
{
...
...
dist/updater.txt
View file @
903b4119
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
{
{
"Version"
"Version"
{
{
"Latest" "1.0
3
"
"Latest" "1.0
4
"
}
}
}
}
...
...
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