19.12.2015, 19:14
Code:
BUGFİX.pwn(8927) : warning 208: function with tag result used before definition, forcing reparse
Code:
stock bool: antiFlood (const text[])
{
new
strSpace,
szText[500]
;
format(szText, sizeof(szText), "%s", text);
while (szText[strSpace] != EOS)
{
if ((szText[strSpace] == szText[strSpace+1]) && (szText[strSpace+1] == szText[strSpace+2]) && (szText[strSpace+2] == szText[strSpace+3]))
{
return (false);
} else return (true);
}
return (true);
}

