[HELP]i got 57 warning errors :/ in my gamemode when compile!!
#1

Hi guyz i got 57 warning erros in my GM when i compile!Please help me!!

pawn Код:
warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 204: symbol is assigned a value that is never used: "carid"
 warning 204: symbol is assigned a value that is never used: "tires"
 warning 203: symbol is never used: "lights"
 warning 203: symbol is never used: "doors"
 warning 203: symbol is never used: "panels"
 warning 204: symbol is assigned a value that is never used: "carid"
 warning 204: symbol is assigned a value that is never used: "tires"
 warning 203: symbol is never used: "lights"
 warning 203: symbol is never used: "doors"
 warning 203: symbol is never used: "panels"
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 217: loose indentation
 warning 204: symbol is assigned a value that is never used: "vehicle"
 warning 204: symbol is assigned a value that is never used: "rands"
 warning 217: loose indentation
 warning 217: loose indentation
 warning 204: symbol is assigned a value that is never used: "result"
 warning 203: symbol is never used: "PlayerDrunk"
 warning 203: symbol is never used: "iOrder"
 warning 204: symbol is assigned a value that is never used: "iTGB"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


57 Warnings.
Reply
#2

looks like you need to use this!

Warnings and Error List [WITH FIXED!]
Reply
#3

Quote:
Originally Posted by MasterJoker
Посмотреть сообщение
looks like you need to use this!

Warnings and Error List [WITH FIXED!]
thanks!!btw when i did #pragma unused pararms it says "1error"
Reply
#4

For the indentation, some people use
pawn Код:
// At The Top
#pragma tabsize 0
not params.
Reply
#5

Quote:
Originally Posted by Dwane
Посмотреть сообщение
For the indentation, some people use
pawn Код:
// At The Top
#pragma tabsize 0
not params.
Which is bad practise, loose indentation warnings are easy to fix.

https://sampwiki.blast.hk/wiki/Errors_List

Or if lazy, try:

http://dracoblue.net/tidy/pawn/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)