Hello guys, i've got a little problems with my plugin, when someone say "Yakada", it should reply "yes" but actually, its always replying "nop", even when i say perfectly "Yakada":
Code:
public OnPluginStart()
{
AddCommandListener(Listener_Say, "say");
AddCommandListener(Listener_Say, "say2");
AddCommandListener(Listener_Say, "say_team");
}
public Action:Listener_Say(client, const String:command[], argc)
{
decl String:arg[264];
GetCmdArgString(arg, 264);
if(StrEqual(arg, "Yakada"))
{
PrintToChatAll("yes");
}
else
{
PrintToChatAll("nop");
}
}