Raised This Month: $51 Target: $400
 12% 

Need some help with this


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nubbe
Junior Member
Join Date: Sep 2021
Old 09-05-2021 , 17:42   Need some help with this
Reply With Quote #1

i cant seem to figure out why this gives me errors

Code:
	
        char Target[64];
	char cl[32];
	GetCmdArg(1, Target, sizeof(Target));
	GetCmdArg(2, cl, sizeof(cl));

	char target_name[MAX_TARGET_LENGTH];
	int target_list[MAXPLAYERS], target_count;
	bool tn_is_ml;
 
	if ((target_count = ProcessTargetString(
			Target,
			client,
			target_list,
			MAXPLAYERS,
			COMMAND_FILTER_CONNECTED,
			target_name,
			sizeof(target_name),
			tn_is_ml)) <= 0)
	{
		void ReplyToTargetError (int client, int target_count)
		return Plugin_Handled;
	}
And it gives these errors when i compile
test.sp(53) : warning 219: local variable "ReplyToTargetError" shadows a variable at a preceding level
test.sp(53) : error 001: expected token: ";", but found "("
test.sp(53) : error 029: invalid expression, assumed zero
test.sp(53) : error 029: invalid expression, assumed zero
test.sp(53) : fatal error 190: too many error messages on one line

Last edited by Nubbe; 09-05-2021 at 18:13.
Nubbe is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode