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

Deleted.
Reply
#2

That simply means you are using the function before it is declared. You can easily bypass this by adding the following line to the top of your script somewhere:
pawn Код:
forward Float:GetDistanceBetweenPlayers(p1,p2);
Reply
#3

Deleted.
Reply
#4

Quote:
Originally Posted by Crayder
Посмотреть сообщение
That simply means you are using the function before it is declared. You can easily bypass this by adding the following line to the top of your script somewhere:
pawn Код:
forward Float:GetDistanceBetweenPlayers(p1,p2);
He is using a stock not a custom callback
Reply
#5

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
He is using a stock not a custom callback
You clearly have no clue what the 'forward' keyword is for.

www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Reply
#6

Quote:
Originally Posted by Crayder
Посмотреть сообщение
You clearly have no clue what the 'forward' keyword is for.

www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Have you ever seen something like that?

Код:
forward myFunction();
stock myFunction()
{
	return 1;
}
Reply
#7

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
Have you ever seen something like that?

Код:
forward myFunction();
stock myFunction()
{
	return 1;
}
Yes, I have. Also it doesn't apply to just stocked functions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)