Error :| - 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: Error :| (
/showthread.php?tid=175159)
Error :| -
eXtr1kE - 08.09.2010
Error :
C:\SAMP0~2.3BR\GAMEMO~1\gf.pwn(12134) : warning 219: local variable "string" shadows a variable at a preceding level
Script :
new string[256];
Re: Error :| -
Mean - 08.09.2010
This is not an error, just a warning and you will still be able to play gamemode, when i was a beginner in scripting i used to have 60+ warns, LAWL, loose definitions, i know how to fix it now, but warning, isnt really a problem, almost every bigger script has 1 warn
Re: Error :| -
Mike_Peterson - 08.09.2010
this warning means that string is for example at top of your gamemode and u did it again in the same function i think
like 2x new string under Ongamemodeinit
i thought it doesnt matter on OnPlayerCommandText
This forum requires that you wait 120 seconds between posts. Please try again in 6 seconds.