SA-MP Forums Archive
Server help Pawno Help - 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: Server help Pawno Help (/showthread.php?tid=447445)



Server help Pawno Help - xXHeathXx12 - 30.06.2013

When i try to compile i get this warnings they are 10
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(232) : warning 201: redefinition of constant/macro (symbol "MAX_ROADBLOCKS")
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(29036) : warning 206: redundant test: constant expression is non-zero
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97352) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97390) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97411) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(98459) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(103953) : warning 217: loose indentation
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(10409 : warning 217: loose indentation
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(28182) : warning 204: symbol is assigned a value that is never used: "InfoBoardTimer"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(56414) : warning 204: symbol is assigned a value that is never used: "iSweeper"


Re: Server help Pawno Help - Lordzy - 30.06.2013

Post the error lines so that you can get help soon. Symbol is never used "params" - It means the symbol 'params' is set to a value which isn't used. Same thing on "InfoBoardTimer" and "iSweeper" variable. Better post codes of these so that you may get help ASAP.


Re: Server help Pawno Help - K9Alex - 30.06.2013

Loose indentation isn't something very bad, but still good to fix it.

Don't worry about "symbol is assigned a value that is never used", you just have a variable that isn't being used, same for "symbol is never used: "params"


Re : Server help Pawno Help - morocco - 30.06.2013

Quote:
Originally Posted by xXHeathXx12
Посмотреть сообщение
When i try to compile i get this warnings they are 10
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(232) : warning 201: redefinition of constant/macro (symbol "MAX_ROADBLOCKS")
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(29036) : warning 206: redundant test: constant expression is non-zero
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97352) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97390) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(97411) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(98459) : warning 203: symbol is never used: "params"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(103953) : warning 217: loose indentation
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(10409 : warning 217: loose indentation
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(28182) : warning 204: symbol is assigned a value that is never used: "InfoBoardTimer"
C:\Users\xXHeathXx12\Desktop\E-RP.pwn(56414) : warning 204: symbol is assigned a value that is never used: "iSweeper"
your GM have 2 #defin... MAX_ROADBLOCKS ( 1 = 100 / 2 = 1000 ) delete one

" warning 203: symbol is never used: "params" " there are cmd with DCMD ... ( dcmd_plaeboombox(...) ) you need to change it to Normal CMD


Re: Server help Pawno Help - Anak - 30.06.2013

Please show codes.