SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 02/03/2011, 08:46 PM   #1
hipy
Huge Clucker
 
Join Date: Jan 2008
Posts: 435
Reputation: 4
Default read out directory?

Hi,

how can i let my script read out an directroy in scriptfiles, (with files like 1.ini, 2.ini etc)
and put all the file names in an array?
hipy is offline  
Old 02/03/2011, 08:50 PM   #2
Lorrden
Huge Clucker
 
Lorrden's Avatar
 
Join Date: Sep 2007
Location: کωعdعи
Posts: 265
Reputation: 0
Default Re: read out directory?

I don't quite understand what You mean..
__________________


★ Small Town (Heavy) Roleplay ★ 100% Unique Script ★ Experienced Staff (8+ years of SA-MP) ★ Friendly, Mature Members ★
Join Us Today - PC-RP.NET:7777
Lorrden is offline  
Old 02/03/2011, 08:54 PM   #3
hipy
Huge Clucker
 
Join Date: Jan 2008
Posts: 435
Reputation: 4
Default Re: read out directory?

what i mean is that i got a directory in scriptfile, where there are 5 files, called 1.ini, 2.ini and so on

I want to put the names of the filename in an array, how can i do that.
hipy is offline  
Old 02/03/2011, 08:56 PM   #4
Lorrden
Huge Clucker
 
Lorrden's Avatar
 
Join Date: Sep 2007
Location: کωعdعи
Posts: 265
Reputation: 0
Default Re: read out directory?

pawn Code:
strmid(array, filename, 0, start, end);
?
__________________


★ Small Town (Heavy) Roleplay ★ 100% Unique Script ★ Experienced Staff (8+ years of SA-MP) ★ Friendly, Mature Members ★
Join Us Today - PC-RP.NET:7777
Lorrden is offline  
 

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
Creating Directory Gforcez Help Archive 2 26/12/2010 05:17 PM
Reading directory mick88 Help Archive 2 19/12/2010 04:10 PM
[Plugin] Directory Terminator3 Plugin Development 11 05/12/2010 11:15 AM
HELP CANT RUN OR EDIT ANYTHING IN GTA SA DIRECTORY Egypt1123 Client Support 9 14/09/2009 05:18 AM
No such file or directory? Hyperion Server Support 0 28/06/2009 11:59 PM


All times are GMT. The time now is 08:17 AM.


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