SA-MP Forums Archive
Compile 1 warning - 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: Compile 1 warning (/showthread.php?tid=80908)



Compile 1 warning - Typhome - 07.06.2009

Код:
C:\Users\Martin\Desktop\Viroserv\gamemodes\larp.pwn(43811) : warning 235: public function lacks forward declaration (symbol "OtherNames")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      8904 bytes
Code size:     1620780 bytes
Data size:     3670420 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4982 cells (19928 bytes)
Total requirements: 5316488 bytes

1 Warning.
How i fix the 1 warning ?

Line 43811:
Код:
public OtherNames()
GameMode is Los Angeles.


Re: Compile 1 warning - Lewwy - 07.06.2009

At the top, type:

pawn Код:
forward OtherNames();



Re: Compile 1 warning - yom - 07.06.2009

That warning is the least of your problems, what is writted below about memory usage is a much serious problem.


Re: Compile 1 warning - Lewwy - 07.06.2009

Well, it is a Godfather edit 0rb so it doesn't surprise me.


Re: Compile 1 warning - Typhome - 07.06.2009

Thanks