Forum

> > CS2D > Scripts > Why doesn't it work?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Why doesn't it work?

7 replies
To the start Previous 1 Next To the start

moved Why doesn't it work?

Mami Tomoe
User Off Offline

Quote
When I use:

1
gmsg2(id,"255255000","[Server]: ©000255000$5000 Payday.")

It will write this:

1
[Server]: Â$5000 Payday.

My problem is:
1
© = Â

How to block this thing from appearing when I try to have 2 different colors?

Admin/mod comment

Obviously related to Scripts. Moved! /user GeoB99

old Re: Why doesn't it work?

GeoB99
Moderator Off Offline

Quote
Not sure about the first problem, but the second you would rather use \169 for scripts instead of ©. Such cause like this happens from that © thingy.

old Re: Why doesn't it work?

GeoB99
Moderator Off Offline

Quote
Here we go then, but note that this is just an example for you. Afterwards is up to you to do the next as long you know how to do.
1
msg2("id, \169255000000[SERVER]: You're not allowed!")

old Re: Why doesn't it work?

THEMUD
User Off Offline

Quote
Try this code:
1
msg2(id, "\169255255000[Server]: \169000255000$5000 Payday")
Make sure that my posted colors are correct.

old Code

Paulo49
User Off Offline

Quote
1
2
3
msg2(id,'COLOR [Server]: COLOR$ Payday')

Color - Code for Color Message!
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview