mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-09 10:33:21 +00:00
Use methodmaps for game stuff
This commit is contained in:
parent
74f37a1454
commit
464f7f4f9e
6 changed files with 53 additions and 65 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue