warning 208: function with tag result used before definition, forcing reparse
#1

Hi ! With this function i get this warning:

warning 208: function with tag result used before definition, forcing reparse

Code:
stock Float:fRandom(Float:max)
{
	return max*random(32768)/32768.0;
}
Thx for you help !
Reply
#2

Either move the function to the top of your script, or forward it like a public function (including float tag).
pawn Code:
forward Float:fRandom(Float:max);
Reply
#3

Thx !!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)