17.03.2013, 11:50
Thanks, most erros fixed, I get one warning and one error now
I got two yea, these are the two
and
But how can I make it diffrent? I need both of them
my warning / error is
I got two yea, these are the two
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(siren,5,cmdtext); return 1; }
Код:
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; }
my warning / error is
Код:
warning 211: possibly unintended assignment error 021: symbol already defined: "OnPlayerCommandText"