Expected token error.
#1

Hello, I've been getting this error for a while, I'm confused at why it is sending the error.

Код:
stock ContainsValidCharacters(text[])
{
    if(strfind(text, "[") != -1 || strfind(text, "]") != -1 || strfind(text, "/") != -1 || strfind(text, "\") != -1 || strfind(text, ":") != -1 || strfind(text, "*") != -1 || strfind(text, "?") != -1 || strfind(text, "<") != -1 || strfind(text, ">") != -1 || strfind(text, "|") != -1 || strfind(text, ".") != 1 || strfind(text, "#") || strfind(text, "¬") || strfind(text, "`") || strfind(text, "¦") || strfind(text, "Ј") || strfind(text, "$") || strfind(text, "%") || strfind(text, "^") || strfind(text, "&") || strfind(text, "(") || strfind(text, ")") || strfind(text, "-") || strfind(text, "=") || strfind(text, "{") || strfind(text, "}")) //The error line {line:31881}
}
The error's i'm getting are:
Код:
C:\Users\Duck\Documents\Samp server stuff\CS-RP\gamemodes\CSRPV2.1.pwn(31881) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Duck\Documents\Samp server stuff\CS-RP\gamemodes\CSRPV2.1.pwn(31881) : error 029: invalid expression, assumed zero
Thanks for the help.
Reply


Messages In This Thread
[RESOLVED] Expected token error. - by MotherDucker - 02.08.2014, 20:29
Re: Expected token error. - by Mauzen - 02.08.2014, 20:47
Re: Expected token error. - by MotherDucker - 02.08.2014, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)