Help Variable "Name" No Effect !!!
#1

Excuse me Scripter

Why for my warning
Код:
D:\srv\gamemodes\bare.pwn(1066) : warning 219: local variable "Name" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
My Line 1066
Код:
new Name[126];
Thanks before

Sorry for my bad english
Reply
#2

Nevermind it then, its just a warning.


or show us the full code.
Reply
#3

You have a Global Variable with the name of "Name", this is a variable which isn't stored inside a callback. You have two options.

1: Optimise your code, do this by removing the Global Variable "Name", and fixing errors that creates.
2: Rename the Local Variable "Name", the one you have posted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)