Use methodmaps for game stuff

This commit is contained in:
Jackz 2022-07-06 17:55:55 -05:00
parent 74f37a1454
commit 464f7f4f9e
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
6 changed files with 53 additions and 65 deletions

View file

@ -147,7 +147,7 @@ public Action Command_GuessWho(int client, int args) {
ReplyToCommand(client, "Removed all custom gamemode blockers");
} else ReplyToCommand(client, "Specify the type to affect: 'blockers', 'props', 'portals', or 'all'");
} else if(StrEqual(subcmd, "settime")) {
int prev = Game.MapTime();
int prev = Game.MapTime;
static char arg[16];
GetCmdArg(2, arg, sizeof(arg));
int time = StringToInt(arg);