urgent help - please respond asap
#1

NO IDEA !



(13705) : error 017: undefined symbol "Iterator@Zones"
(13705) : error 017: undefined symbol "Iterator@Zones"
(13705) : error 017: undefined symbol "Iter_Single@Zones"
(13705) : fatal error 107: too many error messages on one line







================================================== ====================



new DBResult: Result,var;
Result = db_query(Database,"SELECT * FROM Zones");
if(db_num_rows(Result))
{
do
{
var = Iter_Free(Zones); // i am line 13705 :P

ZInfo[var][ZminX] = db_get_field_assoc_float(Result, "MinX");
ZInfo[var][ZminY] = db_get_field_assoc_float(Result, "MinY");
ZInfo[var][ZmaxX] = db_get_field_assoc_float(Result, "MaxX");
ZInfo[var][ZmaxY] = db_get_field_assoc_float(Result, "MaxY");
db_get_field_assoc(Result, "Name", ZInfo[var][Name], 32);

================================================== ====================
Reply
#2

Did you create the Iterator names Zones first?
Reply
#3

new Iterator:MatsItr<MAX_MATERIALS>;

?
Reply
#4

You created an iterator called "MatsItr" but where's "Zones" ?
Reply
#5

Quote:
Originally Posted by iLearner
Посмотреть сообщение
You created an iterator called "MatsItr" but where's "Zones" ?
yea thanks fixed i didn't add iterator for zones
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)