SA-MP Forums Archive
Help with this thing - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with this thing (/showthread.php?tid=112172)



Help with this thing - xLowrider - 06.12.2009

Код:
public function lacks forward declaration
What dose this mean?



Re: Help with this thing - xLowrider - 06.12.2009

Bump~~~~


Re: Help with this thing - Correlli - 06.12.2009

It means that you need to forward the function.

Example:
pawn Код:
forward myFunction(value1, value2);

public myFunction(value1, value2)
{
  // code.
  return (value1 + value2);
}



Re: Help with this thing - DJDhan - 06.12.2009

just above your funtion definition.

Код:
forward function(arguments as in definition);

public function(arguments)
{
}