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