FilterScript Fishing Problem
#3

I got rid of the invalid command line when typing /fish by adding this to the script

if(strcmp(cmd,"/fish",true)==0)
{
tmp = strtok(cmdtext, idx,true);

return 1;
}

But now, I get /register [Password] while fishing.

Code:

if(strcmp(cmd, "/register", true) == 0)
{
tmp = strtok(cmdtext, idx,true);
if(strlen(tmp) == 0) return SendClientMessage(playerid, ERROR, "Use: /register [PASSWORD]");


Any ideas on how to get rid of these annoying messages by adding something to the script?
Reply


Messages In This Thread
FilterScript Fishing Problem - by David5290 - 27.01.2011, 02:08
Re: FilterScript Fishing Problem - by Grim_ - 27.01.2011, 02:09
Re: FilterScript Fishing Problem - by David5290 - 27.01.2011, 03:33
Re: FilterScript Fishing Problem - by David5290 - 27.01.2011, 03:58
Re: FilterScript Fishing Problem - by David5290 - 27.01.2011, 05:09
Re: FilterScript Fishing Problem - by HyperZ - 27.01.2011, 07:36
Re: FilterScript Fishing Problem - by David5290 - 27.01.2011, 07:58
Re: FilterScript Fishing Problem - by David5290 - 27.01.2011, 19:26

Forum Jump:


Users browsing this thread: 1 Guest(s)