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
Help Archive
Threaded Mode
file function:
legodude
Gangsta
Posts: 601
Threads: 74
Joined: Sep 2009
Reputation:
0
#1
13.04.2010, 14:58
fopen("name.txt", io_read);
is it possible to do:
fopen("%s.txt", io_read,VARIABLE);
or somthing like that?
Find
Reply
ZeRo_HUN
Little Clucker
Posts: 25
Threads: 1
Joined: Nov 2009
Reputation:
0
#2
13.04.2010, 15:03
pawn Код:
new
szDir
[
64
]
;
format
(
szDir,
sizeof
szDir,
"%s.txt"
, VARIABLE
)
;
fopen
(
szDir, io_read
)
;
Find
Reply
legodude
Gangsta
Posts: 601
Threads: 74
Joined: Sep 2009
Reputation:
0
#3
13.04.2010, 15:14
thx!
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive