Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › double quote in format string
4 posts, 2 people · 742 views Thread Rating: ★★★★★
closeddouble quote in format string
Started by nacrotic on 06-17-2007, 08:03 AM
N nacrotic
started this thread
Posts: 16
Threads: 5
Joined: Aug 2006
06-17-2007, 08:03 AM #1

i want format this string : "%s" "spk '%s'" "cd" "u"rnrni have try add befor specialchar bug same error ("%s" "spk \'%s\'" "cd" "u")rnrni have try add single quote around specialchar with ('"'%s'"' '"'spk '\''''%s'\'''''"' '"'cd'"' '"'u'"')rnrnbut continu to dont workrnrnthe final commande must bernformat(soundToWrite,95," "%s" "spk '%s'" "cd" "u" ",g_soundName[g_soundNums],soundPath)rnrnthank for your help

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
06-17-2007, 01:48 PM #2

the breakout character in PAWN is ^ by default ...n nIf you want to use the C version ( ) then you have to addn n

 n#pragma ctrlchar 
N nacrotic
started this thread
Posts: 16
Threads: 5
Joined: Aug 2006
06-17-2007, 02:01 PM #3

oh ... ok thank

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
06-17-2007, 03:24 PM #4

no problem :D

Archive › Old Forum Threads › Help › Scripting Help › double quote in format string
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC