SelfMute: Change GetCmdArgString to GetCmdArg.
ArgString shouldnt be needed here, and breaks targetting with "#STEAM_0:0:0000".
This commit is contained in:
parent
4eeb1b004f
commit
5075c235f8
@ -440,7 +440,7 @@ public Action Command_SelfMute(int client, int args)
|
||||
}
|
||||
|
||||
char Argument[65];
|
||||
GetCmdArgString(Argument, sizeof(Argument));
|
||||
GetCmdArg(1, Argument, sizeof(Argument));
|
||||
|
||||
char Filtered[65];
|
||||
strcopy(Filtered, sizeof(Filtered), Argument);
|
||||
@ -516,7 +516,7 @@ public Action Command_SelfUnMute(int client, int args)
|
||||
}
|
||||
|
||||
char Argument[65];
|
||||
GetCmdArgString(Argument, sizeof(Argument));
|
||||
GetCmdArg(1, Argument, sizeof(Argument));
|
||||
|
||||
char Filtered[65];
|
||||
strcopy(Filtered, sizeof(Filtered), Argument);
|
||||
|
Loading…
Reference in New Issue
Block a user