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:
parent
6188e75ee7
commit
47a8946ff3
1 changed files with 8 additions and 1 deletions
|
|
@ -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));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue