Many warnings - 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: Many warnings (
/showthread.php?tid=443932)
Many warnings -
HardRock - 14.06.2013
ppppppppppppppppppppppppp
Re: Many warnings -
Sandiel - 14.06.2013
1. You made a global variable named "string" (on top of your script)
2. You made one or more local variables named "string" in different/one callback(s)
3. The variable shadows a variable at a preceding level.
Fix:
Rename either the
global variable or the
local variables (plural, multiple variables) and it will be fine.
Hope this helps, the easy and fast way would be to rename the global variable rather than renaming the other local ones, good luck.
Re: Many warnings -
HardRock - 14.06.2013
Dont understand