Shadow 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)
+--- Thread: Shadow Error (
/showthread.php?tid=457586)
Shadow Error -
semaj - 12.08.2013
hello folks i just added a house system into my GM and now i get
pawn Код:
C:/Titanium Roleplay v1.0\gamemodes\Untitled.pwn(5632) : warning 219: local variable "Fuel" shadows a variable at a preceding level
&
C:\Titanium Roleplay v1.0\gamemodes\Untitled.pwn(5649) : warning 219: local variable "Jailed" shadows a variable at a preceding level
Any idea's on how to fix this issue?
Thanks
Re: Shadow Error -
mahdi499 - 12.08.2013
You have used the variable fuel 2 times, just change the fuel to something else,this if it's a string,otherwise post script so we can help you
Re: Shadow Error -
arjanforgames - 12.08.2013
You have defined fuel and jailed already. You need to remove one of them.
Re: Shadow Error -
semaj - 12.08.2013
i have tried my best to section everything off so that its easy to read, i added avs and PPC house and the fuel system in the house car is making the issue i just dont know how to fix it
here's the code
http://pastebin.com/XbLEbJ8i
Re: Shadow Error -
arjanforgames - 12.08.2013
Avs has probably fuel defined so the other fuel system will shadow it. Try removing the fuel system.
Re: Shadow Error -
semaj - 12.08.2013
i dont know enought to even think about removing the fuel from it
av not long started to do my own GM
Re: Shadow Error -
semaj - 12.08.2013
if i could i would like the vehicle system removed completely from the house system as i dont need it