Forum

> > CS2D > Scripts > " sign in msg
Forums overviewCS2D overview Scripts overviewLog in to reply

English " sign in msg

7 replies
To the start Previous 1 Next To the start

old " sign in msg

EnderCrypt
User Off Offline

Quote
hi
if i want the " sign in a message (string), then how
it will just belive its end or start of string...

escape character or somheting

old Re: " sign in msg

RAVENOUS
BANNED Off Offline

Quote
start -> "" <- end

msg("") - as usual
msg2(id,"")
msg2(id,"[start]You earned "[end]amount"[start] cash!"[end])

[]comments.

old Re: " sign in msg

EnderCrypt
User Off Offline

Quote
what...
wait
if i want a string to have a text, and i want text to have a " sign in it, explain then howto cause i cant write
variable = "lol"xd"yeah"
then it will give error cause it says "xd" in middle
i want it to become like

lol"xd"yeah

se what i mean

old Re: " sign in msg

KimKat
GAME BANNED Off Offline

Quote
1
2
3
space = " "
string here = player(id,"value") -- or anything else here.
msg2(id,""..[string here]..""..space.."\"MESSAGE HERE!"")

This should work.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview