Forum

> > CS2D > Scripts > Say color Script request
Forums overviewCS2D overview Scripts overviewLog in to reply

English Say color Script request

6 replies
To the start Previous 1 Next To the start

old Say color Script request

hunter139
User Off Offline

Quote
i need a say script

1. Menu
1
menu (id,"Say Color,Blue Color,Red Color,Green Color,Pink Color,Yellow Color,Cyan Color,White Color,,No Color")

when you click on the buttons, the color changes

2. Msg
1
2
msg("©000000255[ADMIN] "..player(id,"name").." : "..t)
return 1

3. Join
On join, no color
edited 3×, last 05.10.13 08:59:06 pm

old Re: Say color Script request

hunter139
User Off Offline

Quote
user MikuAuahDark has written
file File does not exist (14364)

You only need to edit the code generated by that file. And use search next time


i am not sure because these programs can be virused
i dont want to risk
Can anyone help me ?

old Re: Say color Script request

Rainoth
Moderator Off Offline

Quote
They are not with any viruses. They'll create you a very simple color menu script, one guy even uploaded it and got his file removed. Do you really need it as menu ?
You could make it with say hook so player would be able to define the color himself, like e.g. "!setcolor 255220000"

old Re: Say color Script request

hunter139
User Off Offline

Quote
user Rainoth has written
They are not with any viruses. They'll create you a very simple color menu script, one guy even uploaded it and got his file removed. Do you really need it as menu ?
You could make it with say hook so player would be able to define the color himself, like e.g. "!setcolor 255220000"


i need to attach it with another script that uses color as menu
i need only how and i will make it myself, because i need 2 hooks, menu and say, how to do it ?

old Re: Say color Script request

Avo
User Off Offline

Quote
This probably won't help you (message constructing line is unclear as hell), but here you are, check it out.
Code >


Say "!color" to show color menu.

old Re: Say color Script request

hunter139
User Off Offline

Quote
Good i like
but, if you select color: yellow
it is the same as no color
1
i have other commands starting with ! that i want not to be appeared in chat, help

and i want something else
1
2
Admin tag (example)
Player [ADMIN]: hi there

1
2
3
4
5
6
7
When "no color"
player name = 154151255 for ct
player name = 255151154 for t

when any color
player name 000000255 ct
player name 255000000 t

1
2
3
4
5
when no color
txt = 202202000

when any color
the color selection is that color (yellow 255255000)

1
2
3
4
5
also example

"Player: hi there"

i want the ":" the same color as "Player"

can you make it ?
edited 5×, last 05.10.13 03:52:02 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview