mirror of
https://codeberg.org/spire/autoexec.git
synced 2026-06-03 10:14:07 +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,7 +64,14 @@ public OnPluginStart() {
|
|||
}
|
||||
|
||||
public OnMapStart() {
|
||||
decl String:config[128];
|
||||
ExecMapCfg();
|
||||
|
||||
CreateTimer(10.0, ExecMapCfg);
|
||||
}
|
||||
|
||||
|
||||
public ExecMapCfg() {
|
||||
decl String:config[128];
|
||||
decl String:map[128];
|
||||
GetCurrentMap(map, sizeof(map));
|
||||
GetConfig(map, config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue