SA-MP Forums Archive
[Help]Adding quote mark in a string - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]Adding quote mark in a string (/showthread.php?tid=378812)



[Help]Adding quote mark in a string - arvifilter - 19.09.2012

What I want to do is to format a string in a way that the result become:"%s".
As everyone knows when you format the string to "%s" it removes the " " but I want to know how can I add them as a part of the string?(also trying to format as ""%s"" is useless cuz it gives errors)


Re: [Help]Adding quote mark in a string - Jakku - 19.09.2012

It should work when you add a backslash before it. \