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
continue in a double loop
Amads
Big Clucker
Posts: 196
Threads: 40
Joined: Feb 2012
Reputation:
0
#1
31.10.2017, 17:15
PHP Code:
for(new
i
;
i
<
10
;
i
++)
{
for(new
g
;
g
<
25
;
g
++) if(
vExample
[
g
] ==
vArray
[
i
]) continue;
}
I want to skip an iteration in the first loop (i), not the second one, in which continue is used (g).
Don't quite know how to achieve it...
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
continue in a double loop
- by
Amads
- 31.10.2017, 17:15
Re: continue in a double loop
- by
10MIN
- 31.10.2017, 17:32
Re: continue in a double loop
- by
OneDay
- 31.10.2017, 18:35
Re: continue in a double loop
- by
Dayrion
- 31.10.2017, 19:12
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