Error please help
#3

Thanks, most erros fixed, I get one warning and one error now

I got two yea, these are the two


Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(siren,5,cmdtext);
    return 1;
}
and

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new string[128];
	SpamStrings[playerid] +=2;
    if(SpamStrings[playerid] >= MAX_SPAM)
	{
	    format(string,sizeof(string),"Please do not spam in %s. Please wait before typing again.",sabbv);
	    SendClientMessage(playerid, COLOR_ERROR, string);
	    return 1;
    }
But how can I make it diffrent? I need both of them

my warning / error is

Код:
warning 211: possibly unintended assignment
error 021: symbol already defined: "OnPlayerCommandText"
Reply


Messages In This Thread
PLEASE HELP! - by master2466 - 17.03.2013, 11:09
Re: Error please help - by lean1337 - 17.03.2013, 11:27
Re: Error please help - by master2466 - 17.03.2013, 11:50
Re: Error please help - by master2466 - 17.03.2013, 13:19
Re: Error please help - by master2466 - 17.03.2013, 13:44
Re: Error please help - by lean1337 - 17.03.2013, 15:07
Re: Error please help - by master2466 - 17.03.2013, 16:35
Re: Error please help - by lean1337 - 17.03.2013, 17:48
Re: Error please help - by master2466 - 17.03.2013, 18:05
Re: Error please help - by kamzaf - 17.03.2013, 18:09

Forum Jump:


Users browsing this thread: 2 Guest(s)