How to remove this warning?
#1

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.
Reply
#2

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.
Reply
#3

Thanks my friend.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)