OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Terox on 14 Oct 2005, 16:34:55

Title: Displaying "" in format messages
Post by: Terox on 14 Oct 2005, 16:34:55
How to display a "   " in a format message

eg
_string = "Hello"
player sidechat format ["Debug: Quote should be " %1 "   ", _string]
Title: Re:Displaying "" in format messages
Post by: Pilot on 14 Oct 2005, 16:48:51
I thought I heard somewhere you can either use {} or double quotes, eg:
player sidechat format [""Debug: Quote should be " %1 "  "", _string]

or

player sidechat format [{Debug: Quote should be " %1 "  },_string]

Not too sure, though.

-Pilot
Title: Re:Displaying "" in format messages
Post by: Terox on 14 Oct 2005, 17:01:37

player sidechat format [{Debug: Quote should be " %1 "  },_string]

-Pilot


thats the 1 thx