SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/01/2017, 12:18 PM   #1
czop1223
Little Clucker
 
Join Date: Jul 2012
Posts: 48
Reputation: 0
Default Invalid function or declaration using Y_Iterate/Foreach

So, basically what I am doing in my code is

Iterator:Vehs[LIMIT_VEHICLES];

And the error in this particular line is

error 010: invalid function or declaration

The include is of course included, the old Foreach functions compile
czop1223 is offline   Reply With Quote
Old 19/01/2017, 12:36 PM   #2
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,526
Reputation: 554
Default Re: Invalid function or declaration using Y_Iterate/Foreach

Hello
pawn Code:
Iterator:Vehs<LIMIT_VEHICLES>;
Misiur is offline   Reply With Quote
Old 29/05/2017, 04:38 PM   #3
czop1223
Little Clucker
 
Join Date: Jul 2012
Posts: 48
Reputation: 0
Default Re: Invalid function or declaration using Y_Iterate/Foreach

Thanks! Didn't notice this.
czop1223 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird error: invalid symbol name and invalid function or declaration Reboma Scripting Help 1 04/02/2014 11:58 AM
error 010: invalid function or declaration & warning 235: public function lacks forward declaration (symbol "Drag") tboysamp Scripting Help 1 14/04/2013 06:10 AM
Invalid function or declaration? Ferrari123 Help Archive 3 07/03/2011 10:04 PM
Invalid function or declaration? Ferrari123 Help Archive 2 07/03/2011 05:04 PM


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.