PDA

View Full Version : lot of erors


bigboy81
05/01/2015, 04:21 PM
i have lot of erors about string,giveplayer,giveplayerid,sendername..

C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(4342) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(4396) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(4452) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(4487) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(4800) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5100) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5131) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5158) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5377) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5454) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(5463) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(7758) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Bigboy81\Desktop\sve potrebno\X3\gamemodes\UERX2.pwn(8891) : warning 219: local variable "string" shadows a variable at a preceding level

the only fix is to change string to some other name like string1,but i have lot of strings,giveplayerid,sendernames
this eror happens when i making ycmd command,all others ycmd commands work fine but some other don't..

Is there any solution to fix all in one??

HY
05/01/2015, 04:22 PM
You used too much times "string".

Try to change every "string", to another word.

bigboy81
05/01/2015, 04:25 PM
You used too much times "string".

Try to change every "string", to another word.
My gamemode use one global wariable string
if i change that i will have full erors