Forum

> > CS2D > Scripts > Is it possible to combine 2 variables?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Is it possible to combine 2 variables?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Is it possible to combine 2 variables?

Avo
User Off Offline

Zitieren
Is it possible to combine 2 string variables?

For example I have :

1
2
text1='Unreal'
text2='Software'

And I want get third variable by combining text1 and text2:
1
text3='UnrealSoftware'

I know I can do it this way when I want use it to show message:

1
parse('say '..text1..''..txt2..'')

But I want do it by other method.

alt Re: Is it possible to combine 2 variables?

Anders4000
User Off Offline

Zitieren
user Avo hat geschrieben
Is it possible to combine 2 string variables?

For example I have :

1
2
text1='Unreal'
text2='Software'

And I want get third variable by combining text1 and text2:
1
text3='UnrealSoftware'

I know I can do it this way when I want use it to show message:

1
parse('say '..text1..''..txt2..'')

But I want do it by other method.

Yep, guess this would work:
1
text3 = text1..text2

...@user EngiN33R: Damn you
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht