sysmbol is never defined - 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)
+--- Thread: sysmbol is never defined (
/showthread.php?tid=567746)
sysmbol is never defined -
hardiksingh5 - 16.03.2015
C:\Users\Dell\Desktop\server\gamemodes\Airline.pwn (11

: warning 203: symbol is never used: "Airlineid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Re: sysmbol is never defined -
Sithis - 16.03.2015
It's defined, but it's not USED. Nothing to worry about in most cases.
Re: sysmbol is never defined -
hamzajaved780 - 16.03.2015
Just simply remove the line
#define Airlineid [sometext]
and you are good to go
Re: sysmbol is never defined -
hardiksingh5 - 16.03.2015
its not working how to fix it
Re: sysmbol is never defined -
Darrenr - 16.03.2015
Quote:
Originally Posted by hardiksingh5
its not working how to fix it
|
https://sampwiki.blast.hk/wiki/Errors_List
You have created a variable or a function, but you're not using it. Delete the variable or function if you don't intend to use it. This warning is relatively safe to ignore.
Just ignore the warning and leave the variable alone if you are unsure.
What do you mean "its not working"?
Re: sysmbol is never defined -
iFiras - 16.03.2015
Press CTRL + F and type the variable name "Airlineid", simply delete/remove it.
Anyways, like everyone said above, you can leave it since it will not affect the script in any negative ways.
Re: sysmbol is never defined -
FOTIS6 - 16.03.2015
Or you can keep the variable but set it to unused.
Код:
#pragma unused Airlineid
Respuesta: Re: sysmbol is never defined -
Victor_Gutierrez - 16.03.2015
Quote:
Originally Posted by FOTIS6
Or you can keep the variable but set it to unused.
Код:
#pragma unused Airlineid
|
Quote:
Originally Posted by hamzajaved780
Just simply remove the line
#define Airlineid [sometext]
and you are good to go
|
Bad solutions in my opinion, i think u must search the variable who is defined but doesnt used and remove it!
Re: sysmbol is never defined -
X337 - 16.03.2015
Find and remove
in that line