SelfMute: Change GetCmdArgString to GetCmdArg.
ArgString shouldnt be needed here, and breaks targetting with "#STEAM_0:0:0000".
This commit is contained in:
		
							parent
							
								
									bad8090756
								
							
						
					
					
						commit
						3e39970f7b
					
				@ -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