SA-MP Forums Archive
Help with errors and warnings [+REP] - 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: Help with errors and warnings [+REP] (/showthread.php?tid=376732)



Help with errors and warnings [+REP] - Ruffian - 11.09.2012

How to fix it?

Код:
C:\Users\ники\Desktop\gangwars (1).pwn(3093) : error 021: symbol already defined: "ID"
C:\Users\ники\Desktop\gangwars (1).pwn(3200) : warning 201: redefinition of constant/macro (symbol "pInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(3251) : error 021: symbol already defined: "PlayerInfo"
C:\Users\ники\Desktop\gangwars (1).pwn(3820) : error 032: array index out of bounds (variable "BanInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(5584) : error 035: argument type mismatch (argument 2)
C:\Users\ники\Desktop\gangwars (1).pwn(5585) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(5585) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(5585) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(5585) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 203: symbol is never used: "Z"
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 203: symbol is never used: "Y"
C:\Users\ники\Desktop\gangwars (1).pwn(5583) : warning 203: symbol is never used: "X"
C:\Users\ники\Desktop\gangwars (1).pwn(5987) : error 022: must be lvalue (non-constant)
C:\Users\ники\Desktop\gangwars (1).pwn(5990) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6133) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6135) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6136) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6154) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars (1).pwn(6319) : error 035: argument type mismatch (argument 2)
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6321) : warning 205: redundant code: constant expression is zero
C:\Users\ники\Desktop\gangwars (1).pwn(6327) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6328) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6329) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6334) : error 035: argument type mismatch (argument 2)
C:\Users\ники\Desktop\gangwars (1).pwn(6336) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6336) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6336) : warning 213: tag mismatch
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 203: symbol is never used: "Z"
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 203: symbol is never used: "Y"
C:\Users\ники\Desktop\gangwars (1).pwn(6316) : warning 203: symbol is never used: "X"
C:\Users\ники\Desktop\gangwars (1).pwn(6418) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\ники\Desktop\gangwars (1).pwn(6428) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\ники\Desktop\gangwars (1).pwn(6436) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6437) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6438) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6439) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6440) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6441) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6442) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6443) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6444) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6445) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6446) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6447) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\ники\Desktop\gangwars (1).pwn(6448) : error 032: array index out of bounds (variable "PlayerInfo")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.



Re: Help with errors and warnings [+REP] - Ruffian - 11.09.2012

No help? LOL -.-


Re: Help with errors and warnings [+REP] - Nirzor - 11.09.2012

fisrt of all no capitals while scripting in pawno and 2nd of all you did not define any PlayerInfo things and you

don't properly know how to script thats the problem bro!


Re: Help with errors and warnings [+REP] - Ruffian - 11.09.2012

Can i give you my event script and my gamemode script to put event script in gamemode?


Re: Help with errors and warnings [+REP] - Lordzy - 11.09.2012

Post the lines which have got errors.
And in some error cases,I think that its due to lack of such variables.


Re: Help with errors and warnings [+REP] - Ruffian - 11.09.2012

Can i give you the gamemode on pm to fix it?


Re: Help with errors and warnings [+REP] - Ruffian - 11.09.2012

Please help?


Re: Help with errors and warnings [+REP] - zT KiNgKoNg - 11.09.2012

Quote:
Originally Posted by Nirzor
Посмотреть сообщение
fisrt of all no capitals while scripting in pawno and 2nd of all you did not define any PlayerInfo things and you

don't properly know how to script thats the problem bro!
all people have to learn from somebody or something EG? ******* but i agree


Re: Help with errors and warnings [+REP] - Ruffian - 11.09.2012

Can anyone help me?


Re: Help with errors and warnings [+REP] - xMCx - 11.09.2012

post the code please