SA-MP Forums Archive
How to fix this error pls? [HELP] - 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 fix this error pls? [HELP] (/showthread.php?tid=79778)



How to fix this error pls? [HELP] - Malkinu - 30.05.2009

when im compiling my gamemode im getting this error


C:\Documents and Settings\User\My Documents\Nevada\gamemodes\gf.pwn(33426) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 7084 bytes
Code size: 1355508 bytes
Data size: 2374212 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3753188 bytes

1 Warning.

how can i fix it pls?


Re: How to fix this error pls? [HELP] - James_Alex - 30.05.2009

first it isen't error it is warinig
second remove GetPointDistanceToPointExMorph


Re: How to fix this error pls? [HELP] - Malkinu - 30.05.2009

i don't have this command in my gamemode (GetPointDistanceToPointExMorph)..



Re: How to fix this error pls? [HELP] - Klutty - 30.05.2009

Since you're using GF, yes you do. Its just a warning, you can just ignore it.


Re: How to fix this error pls? [HELP] - Correlli - 31.05.2009

Quote:
Originally Posted by Klutty
Since you're using GF, yes you do. Its just a warning, you can just ignore it.
No, never ignore warnings.

And about that function, as far as i know it's located in the include file morph.inc or something like that.
If you're not using it, then you can just remove it or add this to your script:
pawn Код:
#pragma unused GetPointDistanceToPointExMorph



Re: How to fix this error pls? [HELP] - Malkinu - 31.05.2009

thanks Correlli fixed.