lot of erors
#1

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??
Reply
#2

You used too much times "string".

Try to change every "string", to another word.
Reply
#3

Quote:
Originally Posted by HY
Посмотреть сообщение
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)