1
0
Fork 0
mirror of https://codeberg.org/spire/autoexec.git synced 2026-06-03 18:24:06 +02:00

exec config again 10s after map load

This commit is contained in:
Robin Appelman 2026-02-03 23:12:23 +01:00
commit 47a8946ff3

View file

@ -64,6 +64,13 @@ public OnPluginStart() {
} }
public OnMapStart() { public OnMapStart() {
ExecMapCfg();
CreateTimer(10.0, ExecMapCfg);
}
public ExecMapCfg() {
decl String:config[128]; decl String:config[128];
decl String:map[128]; decl String:map[128];
GetCurrentMap(map, sizeof(map)); GetCurrentMap(map, sizeof(map));