Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
empfun
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sourcemod
empfun
Commits
3c5f703a
Commit
3c5f703a
authored
Sep 19, 2020
by
Mikleo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
4c8a51e5
Pipeline
#10862
passed with stages
in 13 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
20 deletions
+4
-20
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
+3
-6
dist/updater.txt
dist/updater.txt
+1
-14
No files found.
dist/addons/sourcemod/plugins/empfun.smx
View file @
3c5f703a
No preview for this file type
dist/addons/sourcemod/scripting/empfun.sp
View file @
3c5f703a
...
...
@@ -10,7 +10,7 @@
#include <SteamWorks>
#define PluginVersion "1.2
0
"
#define PluginVersion "1.2
1
"
float pVersion;
// note linearmap field is unstable
...
...
@@ -5996,9 +5996,8 @@ int SwitchFaction(int entity,char[] classname)
//PrintToServer("%s start",classname);
SwitchFactionString(classname,64);
//PrintToServer("%s end",classname);
any classInfo[classdataenum];
// don't switch flag entities for now. And only do cap entities with no cap number.
...
...
@@ -6007,7 +6006,6 @@ int SwitchFaction(int entity,char[] classname)
if(GetEntitySavingKeys(classname,pVersion,classInfo) && ShouldSave(entity,classname,classInfo) && classInfo[data_group] != 2 && (classInfo[data_group] !=1 || !FlagExistsAtIndex(GetEntProp(entity,Prop_Data,"m_iCapNumber"))))
{
PrintToServer("%s",classname);
KeyValues kv = new KeyValues("save");
...
...
@@ -6031,9 +6029,8 @@ int SwitchFaction(int entity,char[] classname)
char modelPath[128];
if(kv.GetString("model",modelPath,sizeof(modelPath)))
{
PrintToServer(modelPath);
SwitchFactionString(modelPath,sizeof(modelPath));
PrintToServer(modelPath);
kv.SetString("model",modelPath);
}
}
...
...
dist/updater.txt
View file @
3c5f703a
...
...
@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "1.2
0
"
"Latest" "1.2
1
"
}
}
...
...
@@ -32,21 +32,8 @@
"Plugin" "Path_Mod/scenarios/emp_duststorm/mik_kingofthehill.snr"
"Plugin" "Path_Mod/scenarios/emp_duststorm/votelist_base.txt"
"Plugin" "Path_Mod/scenarios/emp_temple/mik_kingofthehill.snr"
"Plugin" "Path_Mod/scenarios/emp_temple/votelist_base.txt"
"Plugin" "Path_Mod/scenarios/emp_palmbay/mik_boats.snr"
"Plugin" "Path_Mod/scenarios/emp_palmbay/votelist_base.txt"
"Plugin" "Path_Mod/scenarios/emp_moors/mik_superapcs.snr"
"Plugin" "Path_Mod/scenarios/emp_moors/votelist_base.txt"
"Plugin" "Path_Mod/scenarios/emp_mvalley/mik_dam.snr"
"Plugin" "Path_Mod/scenarios/emp_mvalley/mik_hills.snr"
"Plugin" "Path_Mod/scenarios/emp_mvalley/votelist_base.txt"
"Plugin" "Path_Mod/scenarios/emp_canyon/mik_destructablerocks.snr"
"Plugin" "Path_Mod/scenarios/emp_canyon/votelist_base.txt"
}
}
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