too many warrnings
#1

Код:
(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];
Reply
#2

#pragma unused params
Reply
#3

What script is that? I've seen it a few times before with those exact same errors.
Reply
#4

it's United Gaming Script
Reply
#5

Quote:
Originally Posted by sammp
Посмотреть сообщение
#pragma unused params
Thanks man fixed 4 warnings.
Reply
#6

for this one:

loose indentation

put this on the top of your script

PHP код:
#pragma tabsize 0 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)