too many warrnings - 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: too many warrnings (
/showthread.php?tid=486259)
too many warrnings -
Antoniohl - 07.01.2014
Код:
(106931) : warning 203: symbol is never used: "InfoBoardTimer"
}"
it's only }, lol.. actually there's no 106931, there's 106930 it's the last line i've got
Код:
(104467) : warning 217: loose indentation
if(current == exhausts_menu)
Код:
(104322) : warning 217: loose indentation
if(current == paintjobs_menu)
Код:
(97780) : warning 203: symbol is never used: "params"
dcmd_pickupboombox(playerid, params[])
Код:
(97759) : warning 203: symbol is never used: "params"
dcmd_turnon(playerid, params[])
Код:
(97721) : warning 203: symbol is never used: "params"
dcmd_placeboombox(playerid, params[])
Код:
(63703) : warning 204: symbol is assigned a value that is never used: "type"
new type = FactionInfo[PlayerInfo[playerid][pMember]][FactionType];
Код:
(29134) : warning 206: redundant test: constant expression is non-zero
if(USE_TEXTDRAW_SET == 2)
Код:
(29051) : warning 225: unreachable code
new string[128];
Re: too many warrnings -
sammp - 07.01.2014
#pragma unused params
Re: too many warrnings -
Vince - 07.01.2014
What script is that? I've seen it a few times before with those exact same errors.
Re: too many warrnings -
Antoniohl - 07.01.2014
it's United Gaming Script
Re: too many warrnings -
Antoniohl - 07.01.2014
Quote:
Originally Posted by sammp
#pragma unused params
|
Thanks man fixed 4 warnings.
Re: too many warrnings -
amirab - 08.01.2014
for this one:
loose indentation
put this on the top of your script
PHP код:
#pragma tabsize 0