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
New line?
Th3Angel
Big Clucker
Posts: 101
Threads: 18
Joined: Aug 2010
Reputation:
0
#1
10.12.2010, 02:27
Does anyone know how to make a new line while writing to a file using fwrite?
I've tried using \n, but it doesn't work.
Find
Reply
randomkid88
Huge Clucker
Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
#2
10.12.2010, 02:28
Use \r and \n.
pawn Код:
fwrite
(
file,
"Hello
\r
\n
"
)
;
Find
Reply
Th3Angel
Big Clucker
Posts: 101
Threads: 18
Joined: Aug 2010
Reputation:
0
#3
10.12.2010, 02:41
Thanks!
[Too Short]
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
Help Archive