[HELP]: Warning 208: function with tag result used before definition, forcing reparse - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]: Warning 208: function with tag result used before definition, forcing reparse (
/showthread.php?tid=596566)
[HELP]: Warning 208: function with tag result used before definition, forcing reparse -
KONTROWKEN - 19.12.2015
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);
}
Re: [HELP]: Warning 208: function with tag result used before definition, forcing reparse -
Kaperstone - 19.12.2015
stock
bool: antiFlood (const text[])