SO MANY WARNINGS
#1

Hi all, I'VE GOT SO MANY ERRORS on my script and I think that's not okay. That are like 41, IDK.
Code:
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(113) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(113) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(114) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(114) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(115) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(115) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(116) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(116) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(117) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(117) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(118) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(118) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(119) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(119) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(120) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(120) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(121) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(121) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(122) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(122) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(123) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(123) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(124) : warning 215: expression has no effect
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(692) : warning 217: loose indentation
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1066) : warning 217: loose indentation
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1156) : warning 225: unreachable code
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1247) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1316) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1439) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1453) : warning 204: symbol is assigned a value that is never used: "ctext"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2058) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2066) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2061) : warning 204: symbol is assigned a value that is never used: "szString"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2061 -- 2069) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2078) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2072) : warning 204: symbol is assigned a value that is never used: "szString"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2197) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2197) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2519) : warning 203: symbol is never used: "AdminInfo"
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2519) : warning 203: symbol is never used: "CarInfo"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


41 Warnings.
here are my script: http://pastebin.com/wF3zxJua
thanks!
Reply
#2

if u have "warning 203: symbol is never used: "example" "

go to new example; and Delete it

about symbol is assigned a value that is never used: "example"

do the same thing just delete it

warning 202: number of arguments does not match definition

means u missing smth in that line or u added smth not needed

and finally warning 215: expression has no effect ( this one auto - fixed if u fix " number of arguments does not match definition " )



enjoy
Reply
#3

Quote:
Originally Posted by Yaa
View Post
if u have "warning 203: symbol is never used: "example" "

go to new example; and Delete it

about symbol is assigned a value that is never used: "example"

do the same thing just delete it

warning 202: number of arguments does not match definition

means u missing smth in that line or u added smth not needed

and finally warning 215: expression has no effect ( this one auto - fixed if u fix " number of arguments does not match definition " )



enjoy
Really thanks!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)