Hi guys. I need help with this code:
PHP Code:
public Action OnClientCommand(int client, int args)
{
char cmd[16];
GetCmdArg(0, cmd, sizeof(cmd));
if (StrEqual(CharToLower(cmd), "help"))
{
return Plugin_Handled;
}
return Plugin_Continue;
}
This code return error: error 035: argument type mismatch (argument 1)
Why is
PHP Code:
if (StrEqual(CharToLower(cmd), "help"))
not working? or how to use it?