weirdest thing i've seen - 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: weirdest thing i've seen (
/showthread.php?tid=68465)
weirdest thing i've seen -
killar456 - 10.03.2009
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\SA-MP SERVER\CityWideRP\gamemodes\cwrp.pwn(44042) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
im getting this warning, when line 44042 doesnt exist and i searched
Код:
GetPointDistanceToPointExMorph
and found nothing, its like a ghost linehow can i get rid of this warning?
Re: weirdest thing i've seen -
Nubotron - 10.03.2009
Search in includes files and prefix the function with keyword "stock"
Re: weirdest thing i've seen -
Synkro93 - 10.03.2009
This warning is on the last line, because it says, that it DOESN'T exist(that's why you couldn't find it).
My opinion is, that just ignore it.
Re: weirdest thing i've seen -
killar456 - 10.03.2009
ill try what nubotron said and if that doesnt work ill just leave it, because it wont harm anything right?
Re: weirdest thing i've seen -
Synkro93 - 10.03.2009
Quote:
Originally Posted by killar456
it wont harm anything right?
|
It shouldn't.
Re: weirdest thing i've seen -
Donny_k - 10.03.2009
Add 'stock' to your function decleration:
pawn Код:
stock GetPointDistanceToPointExMorph(........
It will not be included in the compile if it's not used then instead of giving you a warning about it not being used.
Re: weirdest thing i've seen -
MenaceX^ - 10.03.2009
Quote:
Originally Posted by ☮ DjSkCarrot ☼
This warning is on the last line, because it says, that it DOESN'T exist(that's why you couldn't find it).
My opinion is, that just ignore it.
|
No, it means he never used this varieble.
Re: weirdest thing i've seen -
Mikep - 10.03.2009
Firstly its spelt Variable
Secondly its a function; not a variable.