Forum

> > CS2D > Scripts > How Do I fix this?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How Do I fix this?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How Do I fix this?

iCe4147
User Off Offline

Zitieren
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

alt Re: How Do I fix this?

EngiN33R
Moderator Off Offline

Zitieren
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.

alt Re: How Do I fix this?

palomino
User Off Offline

Zitieren
EngiN33R hat geschrieben
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.

alt Re: How Do I fix this?

RAVENOUS
BANNED Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht