Raised This Month: $9 Target: $400

Need some help with this

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

i cant seem to figure out why this gives me errors

        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(
			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 19:13.
Nubbe is offline

Thread Tools
Display Modes

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 10:27.

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