Forum

> > CS2D > Scripts > How Do I fix this?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How Do I fix this?

4 replies
To the start Previous 1 Next To the start

old How Do I fix this?

iCe4147
User Off Offline

Quote
May I know what is wrong with this?

It always shows 2 messages and how do I place color?

1
2
3
if rp_ct[id] == true then
		msg(player(id,[[name]])..[[(ADM): ]]..txt)
		return 1

old Re: How Do I fix this?

EngiN33R
Moderator Off Offline

Quote
You must have few say hooks. return 1 only works when there's one say hook as I noticed. To add color, use this:
©RRRGGGBBB - where R G and B is RGB color code.

old Re: How Do I fix this?

palomino
User Off Offline

Quote
EngiN33R has written
You must have few say hooks. return 1 only works when there's one say hook as I noticed. To add color, use this:
©RRRGGGBBB - where R G and B is RGB color code.

I think he meant, that he didn't know where to put the color code.

old Re: How Do I fix this?

RAVENOUS
BANNED Off Offline

Quote
you need to return right before the eof.

1
© (Alt+8888)
is used to indicate colors, only usable before a message - it's not possible to combine colors in a message.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview