English Say color Script request

6 replies
Goto Page
To the start Previous 1 Next To the start
03.10.13 06:33:55 pm
Up
hunter139
User
Offline Off
i need a say script

1. Menu
Code:
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
Code:
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
IMG:http://i33.servimg.com/u/f33/18/41/08/82/untitl14.jpg
04.10.13 06:00:51 am
Up
MikuAuahDark
User
Offline Off
file File does not exist (14364)

You only need to edit the code generated by that file. And use search next time
file cs2d LuaJIT for Dedicated Server (13) JIT POWER! | Know your Lua errors! | Part of LÖVE development team since 11.3
04.10.13 02:27:03 pm
Up
hunter139
User
Offline Off
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 ?
IMG:http://i33.servimg.com/u/f33/18/41/08/82/untitl14.jpg
04.10.13 02:34:48 pm
Up
Rainoth
Moderator
Offline Off
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"
04.10.13 03:00:31 pm
Up
hunter139
User
Offline Off
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 ?
IMG:http://i33.servimg.com/u/f33/18/41/08/82/untitl14.jpg
04.10.13 04:01:31 pm
Up
Avo
User
Offline Off
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.
Trust me, I'm an engineer | user DC approved file cs2d Super extra mod for CS2D (64), yeah!
04.10.13 04:43:19 pm
Up
hunter139
User
Offline Off
Good i like
but, if you select color: yellow
it is the same as no color
Code:
1
i have other commands starting with ! that i want not to be appeared in chat, help


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


Code:
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


Code:
1
2
3
4
5
when no color
txt = 202202000

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


Code:
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
IMG:http://i33.servimg.com/u/f33/18/41/08/82/untitl14.jpg
To the start Previous 1 Next To the start