mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
rename shavit_checkpoints_checkpoints to shavit_checkpoints_enabled (#1132)
* yes * undo indentation changes * shavit_checkpoints_checkpointsenabled -> shavit_checkpoints_enabled Co-authored-by: rtldg <55846624+rtldg@users.noreply.github.com>
This commit is contained in:
parent
bcc82992e5
commit
b05393cf9f
@ -185,7 +185,7 @@ public void OnPluginStart()
|
||||
LoadTranslations("shavit-common.phrases");
|
||||
LoadTranslations("shavit-misc.phrases");
|
||||
|
||||
gCV_Checkpoints = new Convar("shavit_checkpoints_checkpoints", "1", "Allow players to save and teleport to checkpoints.", 0, true, 0.0, true, 1.0);
|
||||
gCV_Checkpoints = new Convar("shavit_checkpoints_enabled", "1", "Allow players to save and teleport to checkpoints.", 0, true, 0.0, true, 1.0);
|
||||
gCV_RestoreStates = new Convar("shavit_checkpoints_restorestates", "1", "Save the players' timer/position etc.. when they die/change teams,\nand load the data when they spawn?\n0 - Disabled\n1 - Enabled", 0, true, 0.0, true, 1.0);
|
||||
gCV_MaxCP = new Convar("shavit_checkpoints_maxcp", "1000", "Maximum amount of checkpoints.\nNote: Very high values will result in high memory usage!", 0, true, 1.0, true, 10000.0);
|
||||
gCV_MaxCP_Segmented = new Convar("shavit_checkpoints_maxcp_seg", "10", "Maximum amount of segmented checkpoints. Make this less or equal to shavit_checkpoints_maxcp.\nNote: Very high values will result in HUGE memory usage! Segmented checkpoints contain frame data!", 0, true, 1.0, true, 50.0);
|
||||
@ -1757,7 +1757,7 @@ void LoadCheckpointCache(int client, cp_cache_t cpcache, bool isPersistentData)
|
||||
ep.outputWaits = cpcache.aOutputWaits;
|
||||
SetClientEvents(client, ep);
|
||||
|
||||
#if DEBUG
|
||||
#if DEBUG
|
||||
PrintToConsole(client, "targetname='%s'", cpcache.sTargetname);
|
||||
|
||||
for (int i = 0; i < cpcache.aEvents.Length; i++)
|
||||
@ -1766,7 +1766,7 @@ void LoadCheckpointCache(int client, cp_cache_t cpcache, bool isPersistentData)
|
||||
cpcache.aEvents.GetArray(i, e);
|
||||
PrintToConsole(client, "%s %s %s %f %i %i %i", e.target, e.targetInput, e.variantValue, e.delay, e.activator, e.caller, e.outputID);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user