Posts: 114
Threads: 35
Joined: Dec 2009
Reputation:
0
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];
Posts: 2,726
Threads: 85
Joined: Jul 2010
Reputation:
0
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
Posts: 844
Threads: 32
Joined: Apr 2009
Reputation:
0
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.