SA-MP Forums Archive
Strangely warning 203. How to fix? - 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: Strangely warning 203. How to fix? (/showthread.php?tid=128418)



Strangely warning 203. How to fix? - billy4601 - 17.02.2010

Код:
(27465) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
hi, this is strangely warning. my script only have 27454 line...............

And i don't use any symbol call "GetPointDistanceToPointExMorph"


Re: Strangely warning 203. How to fix? - aircombat - 17.02.2010

Код:
And i don't use any symbol call "GetPointDistanceToPointExMorph"
that's is the problem that u don't use it but u defined it , search on "GetPointDistanceToPointExMorph" then delete it from ur script , it should be fixed
________
Small Tits live


Re: Strangely warning 203. How to fix? - billy4601 - 17.02.2010

Quote:
Originally Posted by aircombat
that's is the problem that u don't use it but u defined it , search on "GetPointDistanceToPointExMorph" then delete it from ur script , it should be fixed
But, the problem is i don't heave this symbol. i search for the script. I can't find the "GetPointDistanceToPointExMorph"




Re: Strangely warning 203. How to fix? - Correlli - 17.02.2010

Quote:
Originally Posted by billy4601
But, the problem is i don't heave this symbol. i search for the script. I can't find the "GetPointDistanceToPointExMorph"
It's probably in the include file.


Re: Strangely warning 203. How to fix? - billy4601 - 17.02.2010

Quote:
Originally Posted by Don Correlli
It's probably in the include file.
So, i just need to remove the files? This will make my server harmful?


Re: Strangely warning 203. How to fix? - Correlli - 17.02.2010

Quote:
Originally Posted by billy4601
So, i just need to remove the files?
No, open the include file in which this function is located and delete this function.


Re: Strangely warning 203. How to fix? - billy4601 - 17.02.2010

Quote:
Originally Posted by Don Correlli
No, open the include file in which this function is located and delete this function.
I have a question, if not deal with this problem, my server, what will happen?


Re: Strangely warning 203. How to fix? - Correlli - 17.02.2010

There shouldn't be any problems in this case but don't ignore any warning, not even this one.


Re: Strangely warning 203. How to fix? - Joe Staff - 17.02.2010

Nothing.


But you can also add
pawn Код:
#pragma unused GetPointDistanceToPointExMorph
I think anyway.

But as suggested, just open up your morphs.inc file in 'pawno/includes' and look for the function and remove it, or add 'stock' to the front of it.
Код:
stock GetPointDistanceToPointExMorph(....)



Re: Strangely warning 203. How to fix? - wafffllesss - 17.02.2010

Quote:
Originally Posted by billy4601
Quote:
Originally Posted by Don Correlli
No, open the include file in which this function is located and delete this function.
I have a question, if not deal with this problem, my server, what will happen?
Nothing... pawn is just saying you that you didn't used this, so if you want to delete it no problem, and if you want to keep it, no problem.