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
Looping this 2 Array
ToiletDuck
Huge Clucker
Posts: 400
Threads: 52
Joined: Apr 2012
Reputation:
0
#1
03.01.2014, 03:23
(
Последний раз редактировалось ToiletDuck; 19.06.2016 в 05:12.
)
fix
Find
Reply
Tayab
Big Clucker
Posts: 190
Threads: 28
Joined: Jul 2013
Reputation:
0
#2
03.01.2014, 04:50
The only way I can think of is this. (Not sure if its what you need)
1. What is bigger? MAX_HOUSES or MAX_FURNITURE? Take the bigger one and put it into the for loop and the other in while loop.
pawn Код:
for
(
new
i
=
0
; i
<
MAX_HOUSES; i
++
)
{
//house code.
while
(
i
<
MAX_FURNITURE
)
{
// furniture code.
}
}
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