4 errors and full warnings
#1

Код:
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(27) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(33) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(41) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(49) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(55) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(61) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(67) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(3559) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4149) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4258) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4292) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4402) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5113) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5145) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5166) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5188) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5227) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5256) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5284) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5302) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5325) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5389) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5415) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5441) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5481) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5550) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5734) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5759) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5776) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5839) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5862) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5892) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5994) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6029) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6096) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6118) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6139) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6242) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6692) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6711) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6855) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6941) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6967) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7009) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7145) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7181) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7204) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7291) : error 021: symbol already defined: "cmd"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7485) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7510) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(9888) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10403) : error 021: symbol already defined: "GetFile"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10404) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10410) : error 021: symbol already defined: "IsNumeric"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10419) : error 021: symbol already defined: "ReturnUser"
Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
How to fix please

All lines this is: new id = strval(tmp);
Reply
#2

Код:
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7291) : error 021: symbol already defined: "cmd"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10403) : error 021: symbol already defined: "GetFile"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10410) : error 021: symbol already defined: "IsNumeric"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10419) : error 021: symbol already defined: "ReturnUser"
Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Start by fixing the errors.


Код:
error 021: symbol already defined:
This means that the variable/function you are declaring already exists earlier in your code.

___________________

If I've helped you, please rep++ to show your appreciation.
Reply
#3

you may have forgot to close }
Reply
#4

You are already have global variable "id", so try rename "id" to something
Reply
#5

Quote:
Originally Posted by EnforcerDon
Посмотреть сообщение
Код:
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7291) : error 021: symbol already defined: "cmd"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10403) : error 021: symbol already defined: "GetFile"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10410) : error 021: symbol already defined: "IsNumeric"
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(10419) : error 021: symbol already defined: "ReturnUser"
Pawn compiler 3.2.3664	 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Start by fixing the errors.


Код:
error 021: symbol already defined:
This means that the variable/function you are declaring already exists earlier in your code.

___________________

If I've helped you, please rep++ to show your appreciation.
Quote:
Originally Posted by terrance
Посмотреть сообщение
You are already have global variable "id", so try rename "id" to something
Quote:
Originally Posted by superrobot48
Посмотреть сообщение
you may have forgot to close }
whare i forgot close } ?

Damned and warning all happened after I put Maude Night team have built up a
My mode before compile without warning and bloody one!


now have me 50 warniinggs:

Код:
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(27) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(33) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(41) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(49) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(55) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(61) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\pawno\include\MidoStream.inc(67) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(3559) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4150) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4259) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4293) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(4403) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5114) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5146) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5167) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5189) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5228) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5257) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5285) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5303) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5326) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5390) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5416) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5442) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5482) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5551) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5735) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5760) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5777) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5840) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5863) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5893) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(5995) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6030) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6097) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6119) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6140) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6243) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6693) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6712) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6856) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6942) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(6968) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7010) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7146) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7182) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7205) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7486) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(7511) : warning 219: local variable "id" shadows a variable at a preceding level
C:\Users\MOTI\Desktop\Black DeathMatch\gamemodes\BlackDM.pwn(9889) : warning 219: local variable "id" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


50 Warnings.
Reply
#6

Can you please show me the code/line where it f**** up.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)