Garry's Mod

Garry's Mod

38 个评价
Hexadecimal Color Command
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐
文件大小
发表于
958.000 B
2017 年 11 月 9 日 下午 7:22
1 项改动说明 ( 查看 )

订阅以下载
Hexadecimal Color Command

在 SweptThr.one 的 1 个合集中
SweptThrone Catalogue
135 件物品
描述
A basic command if you know color hexes better than RGB values.

//

A simple feature for a simple audience, the Hexadecimal Color Command.

The Hexadecimal Color Command adds a chat command to your game that you can use if you prefer using hexadecimal color codes instead of the R G B text boxes in the tool menu.

To use this, type --setcolor #HEXDEC to update your color tool (of course, replace HEXDEC with the hexadecimal code of your choice). There's also an additional command that takes RGB colors and makes them hexadecimal. Type --rgb(rrr,ggg,bbb) and the hexadecimal format will appear in your chat.

Only use this if you know what you are doing. I did limited testing to error-proof this. Inputting malformed or just stupid codes WILL cause a scripting error to occur. I will not fix these.

I made this because I was bored and someone wanted a hexadecimal feature for their color tool, so I made do.


[sweptthr.one]

Credits:
Me - All of the code
4 条留言
SweptThr.one  [作者] 2023 年 11 月 3 日 下午 12:27 
it takes hexadecimal values
Mr McFückSauce 2023 年 11 月 3 日 上午 11:46 
so i guess it doesnt take very complex values?
SweptThr.one  [作者] 2023 年 10 月 29 日 上午 11:56 
what's broken about it?
Mr McFückSauce 2023 年 10 月 29 日 上午 11:43 
pls fix it would help me a lot with my builds