Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Local Variable shadows a variable at a preceding level
Kindred
High-roller
Posts: 1,253
Threads: 36
Joined: Aug 2011
Reputation:
0
#4
21.06.2013, 23:29
pawn Код:
new
idx
=
1
This is the problem. You make a new variable titled "idx" but you also create it when making the loop. Either delete the "new" in the loop or remove the variable I showed above.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Local Variable shadows a variable at a preceding level
- by
Th3b3ast5
- 21.06.2013, 23:18
Re: Local Variable shadows a variable at a preceding level
- by
Kindred
- 21.06.2013, 23:19
Re: Local Variable shadows a variable at a preceding level
- by
Th3b3ast5
- 21.06.2013, 23:26
Re: Local Variable shadows a variable at a preceding level
- by
Kindred
- 21.06.2013, 23:29
Re: Local Variable shadows a variable at a preceding level
- by
jessejanssen
- 21.06.2013, 23:32
Re: Local Variable shadows a variable at a preceding level
- by
Th3b3ast5
- 21.06.2013, 23:32
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help