SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Nederlands/Dutch

Reply
 
Thread Tools Display Modes
Old 17/03/2011, 06:27 PM   #1
Biesmen
High-roller
 
Biesmen's Avatar
 
Join Date: May 2009
Posts: 1,625
Reputation: 637
Default New Line "\n" werkt niet bij Format

Ik heb een probleempje met een nieuwe lijn aanmaken in een format. Om logs, of accounts te maken gebruik ik de gewone 'file' functie van C. Maar hij werkt gewoon niet bij format.

Voorbeeld code:
pawn Code:
format(string, sizeof(string), "%s\n", log);
Die \n wordt volledig genegeerd. Ik heb ook al \r geprobeert.
Biesmen is offline   Reply With Quote
Old 17/03/2011, 06:32 PM   #2
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,878
Reputation: 1222
Default Re: New Line "\n" werkt niet bij Format

Heb je dan ook al \r\n geprobeerd?
Kwarde is offline   Reply With Quote
Old 17/03/2011, 06:32 PM   #3
Serbish
Gangsta
 
Join Date: Apr 2008
Location: Luxembourg
Posts: 643
Reputation: 30
Default Re: New Line "\n" werkt niet bij Format

pawn Code:
format(string, sizeof(string), "%s\r\n", log);
Serbish is offline   Reply With Quote
Old 17/03/2011, 06:41 PM   #4
Biesmen
High-roller
 
Biesmen's Avatar
 
Join Date: May 2009
Posts: 1,625
Reputation: 637
Default Re: New Line "\n" werkt niet bij Format

Dat was ik nog vergeten te doen ().
Dankje.
Biesmen is offline   Reply With Quote
Reply

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
xMovie Entertainment (3 vids): "Like a boss" "The rapist" "Jizz in my pants" xMovie Screenshots and Videos 11 27/03/2012 12:10 PM
"E-Speaking werkt niet meer..." Jantjuh Nederlands/Dutch 2 14/02/2011 05:42 PM
Little "format" and "dini" help blackwave Help Archive 3 28/12/2010 12:28 PM
Run time error 17: "Invalid/unsupported P-code file format" Pooh7 Help Archive 0 13/12/2010 09:45 PM
My server will not start because of error 17:"Invalid/unsupported P-code format" Gabe713 Server Support 3 25/04/2009 10:45 AM


All times are GMT. The time now is 06:42 PM.


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