mirror of
https://codeberg.org/spire/autoexec.git
synced 2026-06-03 18:24:06 +02:00
misc formatting
This commit is contained in:
parent
d5012ceefe
commit
0d8aa60583
1 changed files with 3 additions and 3 deletions
|
|
@ -35,6 +35,7 @@ public OnPluginStart() {
|
||||||
mapPrefixMap.SetString("cp_", "5cp");
|
mapPrefixMap.SetString("cp_", "5cp");
|
||||||
mapPrefixMap.SetString("kot", "koth");
|
mapPrefixMap.SetString("kot", "koth");
|
||||||
mapPrefixMap.SetString("ctf", "ctf");
|
mapPrefixMap.SetString("ctf", "ctf");
|
||||||
|
mapPrefixMap.SetString("ult", "ultiduo");
|
||||||
|
|
||||||
mapOverwriteMap.SetString("cp_steel", "stopwatch");
|
mapOverwriteMap.SetString("cp_steel", "stopwatch");
|
||||||
mapOverwriteMap.SetString("cp_gravelpit", "stopwatch");
|
mapOverwriteMap.SetString("cp_gravelpit", "stopwatch");
|
||||||
|
|
@ -49,7 +50,7 @@ public OnMapStart() {
|
||||||
ExecCFG(config);
|
ExecCFG(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Action:AutoExec(args) {
|
public Action:AutoExec(args) {
|
||||||
decl String:config[128];
|
decl String:config[128];
|
||||||
GetConfig(config);
|
GetConfig(config);
|
||||||
|
|
||||||
|
|
@ -116,8 +117,7 @@ public GetMapType(String:mapType[32]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ExecCFG(String:cfg[128])
|
public ExecCFG(String:cfg[128]) {
|
||||||
{
|
|
||||||
decl String:command[256];
|
decl String:command[256];
|
||||||
Format(command, sizeof(command), "exec %s", cfg);
|
Format(command, sizeof(command), "exec %s", cfg);
|
||||||
ServerCommand(command, sizeof(command));
|
ServerCommand(command, sizeof(command));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue