SA-MP Forums Archive
How to remove this 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: How to remove this warning? (/showthread.php?tid=208284)



How to remove this warning? - copper - 08.01.2011

How to remove this warning please "GetPointDistanceToPointExMorph" ? This line is found at the end of the script.
[HELP] thanks.


D:\Documents and Settings\Tabone\Desktop\R-RP[0.3c]\gamemodes\R-RP.pwn(52017) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 11148 bytes
Code size: 2110796 bytes
Data size: 10686400 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5423 cells (21692 bytes)
Total requirements:12824728 bytes

1 Warning.


Re: How to remove this warning? - Calgon - 08.01.2011

Look for "public GetPointDistanceToPointExMorph(" and "forward GetPointDistanceToPointExMorph(" and comment the forward part out, and if you want to keep the function in the script for later use re-name "public GetPointDistanceToPointExMorph" to "stock GetPointDistanceToPointExMorph" or just comment it out.

It calls it as an error at the final line because it looks through your whole script before assuming that the function isn't being used.


Re: How to remove this warning? - copper - 08.01.2011

Thanks my friend.