SA-MP Forums Archive
PAWNO WARNINGS - 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: PAWNO WARNINGS (/showthread.php?tid=613570)



PAWNO WARNINGS - GTAVince2002 - 29.07.2016

How to fix these Warnings?


C:\Users\Vince\Documents\UGDM.pwn(604) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(970) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(1149) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(1155) : warning 213: tag mismatch
C:\Users\Vince\Documents\UGDM.pwn(1173) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(150 : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(1773) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(1959) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(2066) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(2073) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(2073) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(2163) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(237 : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(2421) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(2471) : warning 213: tag mismatch
C:\Users\Vince\Documents\UGDM.pwn(2476) : warning 213: tag mismatch
C:\Users\Vince\Documents\UGDM.pwn(2712) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(2712) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(2713) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(3303) : warning 219: local variable "ForumRank" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(3305) : warning 203: symbol is never used: "pWanted"
C:\Users\Vince\Documents\UGDM.pwn(3305) : warning 204: symbol is assigned a value that is never used: "playername"
C:\Users\Vince\Documents\UGDM.pwn(3305) : warning 203: symbol is never used: "InWanted"
C:\Users\Vince\Documents\UGDM.pwn(3303) : warning 203: symbol is never used: "ForumRank"
C:\Users\Vince\Documents\UGDM.pwn(3314) : warning 204: symbol is assigned a value that is never used: "pDeaths"
C:\Users\Vince\Documents\UGDM.pwn(7874) : warning 204: symbol is assigned a value that is never used: "ChangeColor"
C:\Users\Vince\Documents\UGDM.pwn(7990) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(9120) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(9167) : warning 203: symbol is never used: "params"
C:\Users\Vince\Documents\UGDM.pwn(11662) : warning 204: symbol is assigned a value that is never used: "var0"
C:\Users\Vince\Documents\UGDM.pwn(12121) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(12147) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(12247) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(12360) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(12361) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(1239 : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(13235) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(13314) : warning 202: number of arguments does not match definition
C:\Users\Vince\Documents\UGDM.pwn(13476) : warning 202: number of arguments does not match definition
C:\Users\Vince\Documents\UGDM.pwn(13663) : warning 225: unreachable code
C:\Users\Vince\Documents\UGDM.pwn(13671) : warning 225: unreachable code
C:\Users\Vince\Documents\UGDM.pwn(1368 : warning 225: unreachable code
C:\Users\Vince\Documents\UGDM.pwn(15820) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\Vince\Documents\UGDM.pwn(17043) : warning 217: loose indentation
C:\Users\Vince\Documents\UGDM.pwn(17132) : warning 204: symbol is assigned a value that is never used: "MessagesList"
C:\Users\Vince\Documents\UGDM.pwn(923) : warning 204: symbol is assigned a value that is never used: "DMA"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "ForumRank"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "GetinBank"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRelegy1"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRelegy2"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRelegy3"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester1"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester2"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester3"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester4"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester5"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester6"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester7"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRjester8"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRstratum1"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRstratum2"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRstratum3"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRstratum4"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRsultan1"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRsultan2"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRsultan3"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRsultan4"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRuranus1"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRuranus2"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "TRuranus3"
C:\Users\Vince\Documents\UGDM.pwn(923 -- 17216) : warning 203: symbol is never used: "dcmd_dmarea"
C:\Users\Vince\Documents\UGDM.pwn(1166) : warning 204: symbol is assigned a value that is never used: "elevatorarea"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby1"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby10"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby11"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby12"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby13"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby14"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby15"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby16"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby17"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby18"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby19"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby2"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby3"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby4"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby5"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby6"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby7"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby8"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "iDerby9"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "nDoor"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "neonpickup"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "ob"
C:\Users\Vince\Documents\UGDM.pwn(1166 -- 17216) : warning 203: symbol is never used: "sDoor"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


95 Warnings.


Re: PAWNO WARNINGS - AliBro - 29.07.2016

show us the lines !


Re: PAWNO WARNINGS - Micko123 - 29.07.2016

No. Don't show us the warnings. Show us last thing you did


Re: PAWNO WARNINGS - Quinncell - 29.07.2016

PHP код:
 symbol is never used 
means that you have defined it but you didn't use it so you can find the define of those symbols and delete them.


Here is a thread that may help you solve those warnings one by one https://sampforum.blast.hk/showthread.php?tid=185407

And next time put those warnings/errors in code,
PHP код:
[CODE][/CODE



Re: PAWNO WARNINGS - Lirbo - 29.07.2016

Seems like that's not your own gamemode if you reached to that much.
those warnings are coming from defined variables that have been never used.
some another warnings means that you didn't use the right syntax of some functions


Re: PAWNO WARNINGS - GTAVince2002 - 31.07.2016

Ye its not mine, But will the GM Work Properly or not?


Re: PAWNO WARNINGS - Logic_ - 31.07.2016

It will work but can cause some issues, not sure 100 percent though.


Re: PAWNO WARNINGS - GTAVince2002 - 31.07.2016

Ok, But I did ask my friend about it and he said like you it should work but with some issues, And I did change some things on it Like the name and such things, But they don't show up. What to do now?


Re: PAWNO WARNINGS - GTAVince2002 - 01.08.2016

Whats the anwser?