Forum

> > CS2D > Scripts > " sign in msg
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch " sign in msg

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt " sign in msg

EnderCrypt
User Off Offline

Zitieren
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

alt Re: " sign in msg

RAVENOUS
BANNED Off Offline

Zitieren
start -> "" <- end

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

[]comments.

alt Re: " sign in msg

EnderCrypt
User Off Offline

Zitieren
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

alt Re: " sign in msg

KimKat
GAME BANNED Off Offline

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

This should work.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht