Script help
#1

i got A LOT of errors with the same reason.

Код:
local variable "string" shadows a variable at a preceding level
what to do?
Reply
#2

you probably defined it as a global variable,and then you define it somewhere again
Reply
#3

Quote:
Originally Posted by dusk
Посмотреть сообщение
you probably defined it as a global variable,and then you define it somewhere again
What do you recommand to do?
Reply
#4

Change the global one to something like string1. They can't be defined 2 times.
Reply
#5

rename the second string variable to anything else.that will solve ur problem
Reply
#6

I had this problema when i was using sscanf or zcmd, i don't remember, but it's simple fix it, just change de second place where you defined a variable "string". As posted above.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)