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
Threaded Mode
warning 219: local variable "car" shadows a variable at a preceding level
Supermaxultraswag
Huge Clucker
Posts: 225
Threads: 62
Joined: Aug 2014
Reputation:
0
#1
07.02.2015, 12:41
Код:
warning 219: local variable "car" shadows a variable at a preceding level
Код:
new car[MAX_PLAYERS][30];
Find
Reply
HazardouS
Huge Clucker
Posts: 256
Threads: 1
Joined: Aug 2014
Reputation:
0
#2
07.02.2015, 12:43
So change the name of one of them. I recommend changing the name of the local variable.
Find
Reply
CalvinC
High-roller
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
#3
07.02.2015, 13:07
This means you are declaring something twice, look for a global variable or another local variable in the same code, either rename one of them or delete one of them.
Find
Reply
«
Next Oldest
|
Next Newest
»
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: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help