Posts: 3,324
Threads: 96
Joined: Sep 2013
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);
Posts: 3,324
Threads: 96
Joined: Sep 2013
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
Posts: 3,324
Threads: 96
Joined: Sep 2013
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.