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
undefined
itachi
Big Clucker
Posts: 168
Threads: 115
Joined: Jul 2010
Reputation:
0
#1
30.10.2015, 18:40
Код:
new bool:useCell[MAX_CELLS*2+numNPC];
Quote:
error 017: undefined symbol "numNPC"
Find
Reply
feartonyb
Huge Clucker
Posts: 322
Threads: 29
Joined: Feb 2012
Reputation:
0
#2
30.10.2015, 18:48
You didn't define variable
numNPC
Find
Reply
Macluawn
Gangsta
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
#3
30.10.2015, 18:52
That wont work, because array sizes are determined at compile time, not runtime.
numNPC
must be a constant.
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help