SA-MP Forums Archive
help error 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 error warning 208: function with tag result used before definition, forcing reparse (/showthread.php?tid=658946)



help error warning 208: function with tag result used before definition, forcing reparse - skiplovebra - 17.09.2018

Код:
C:\gta-rp.vn\gacon\gacon\filterscripts\yom_buttons.pwn(323) : warning 208: function with tag result used before definition, forcing reparse
Код:
forward bool:FS_IsValidButton(buttonid);
public bool:FS_IsValidButton(buttonid)
{
	return (buttonid <= MAX_BUTTONS && ButtonInfo[buttonid][Created]);
}



Re: help error warning 208: function with tag result used before definition, forcing reparse - UFF - 17.09.2018

Either move it to the top of the script or place it right before you use the function.


Re: help error warning 208: function with tag result used before definition, forcing reparse - skiplovebra - 17.09.2018

Quote:
Originally Posted by UFF
Посмотреть сообщение
Either move it to the top of the script or place it right before you use the function.
thanks bro