What operator i have to use to join few strings?
What operator i have to use to join 3 string?
Example: Code:
client_print(id,print_chat,hostname)* [hostname] Some msg. Ive tried to join them like this: Code:
client_print(id,print_chat,"["+hostname+"]")Best Regards |
Did u want it to actually display your hostname?
Code:
|
Code:
|
Im sorry...I wrote the wrong thing..
I just edited it lol.. Thanks for the post after mine :) |
Quote:
|
Quote:
|
@ Original question:
If your function doesn't have formatting built into it(as seen in client_print), you can use format. Here's an example. Code:
|
Quote:
|
it just wouldn't even compile. get_cvar_string() requires more fields than given here.
|
I thought there is some operator like in PHP where i can join two string with
dot like this Code:
PHP CODE:%s #%i I coldnt find it in help. Can you tell me where is explanation to thous ... hmm i dont know even what they are. |
| All times are GMT -4. The time now is 05:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.