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

error name>Exception reported: Instruction contained invalid parameter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kdaekiss
Junior Member
Join Date: Sep 2017
Old 08-31-2018 , 23:44   error name>Exception reported: Instruction contained invalid parameter
Reply With Quote #1

Hello, that's the same error name as the title. Compile works well.

The code below is hook

Code:
public Action:SayHook(Client, Arguments)
The code below does not even operate an error message during the operation.
Code:
if(StrContains(Msg[1], "!강화포인트") != -1)
		{
			if(!StrEqual(s_Buffer[1], "", false) || !StrEqual(s_Buffer[2], "", false))
			{
				new Target = GetTargetToName(s_Buffer[1]);
				new wuppoint = StringToInt(s_Buffer[2]);
				if(Target == -1)
				{
					PrintToChat(Client, "\x070FF0FF[%s]\x01이라는 닉네임이 없습니다.", s_Buffer[1]);
					return Plugin_Handled;
				}
				if(Target == 0)
				{
					PrintToChat(Client, "\x070FF0FF중복되는 사람이 있습니다.");
					return Plugin_Handled;
				}
				GetClientName(Target, s_Name, sizeof(s_Name));
				PrintToChat(Client, "\x070FF0FF[%s]\x01님에게 강화 포인트를\x03[%d]\x01포인트를 드렸습니다.", s_Name, wuppoint);
				PrintToChat(Target, "\x070FF0FF[Admin]\x01님께서 강화 포인트를\x03[%d]\x01포인트를 드렸습니다.", wuppoint);
				wup[Target] += wuppoint;
			}
			else PrintToChat(Client, "\x070FF0FF사용법 : \x03!강화포인트 <닉네임> <포인트>");
			return Plugin_Handled;
		}
	}
	return Plugin_Continue;
}
help me plz.. **The translation may be rather awkward.

This Game is CS:S

Last edited by kdaekiss; 08-31-2018 at 23:45. Reason: game name..not send
kdaekiss 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 00:39.


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