SA-MP Forums Archive
What does this mean? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What does this mean? (/showthread.php?tid=135617)



What does this mean? - jameskmonger - 21.03.2010

pawn Код:
C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn(229) : warning 219: local variable "PlayerName" shadows a variable at a preceding level



Re: What does this mean? - Kyosaur - 21.03.2010

It means another variable with the same name is decleared already. Rename one of them, or make it global variable (if the variable is in a function, rename PlayerName).


Re: What does this mean? - jameskmonger - 21.03.2010

Ok, thanks.