SA-MP Forums Archive
Trying to variable pass, but get Shadow warning... How to? - 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)
+--- Thread: Trying to variable pass, but get Shadow warning... How to? (/showthread.php?tid=503076)



Trying to variable pass, but get Shadow warning... How to? - Dokins - 27.03.2014

DELETE, I'm a moron.


Re: Trying to variable pass, but get Shadow warning... How to? - Konstantinos - 27.03.2014

"sqlid" is declared as global and the lines above that give the warnings declare "sqlid" as local.


Re: Trying to variable pass, but get Shadow warning... How to? - Dokins - 27.03.2014

I realised that I had a variable called sqlid.

Thanks anyway Konstantinos.