Garry's Mod

Garry's Mod

510 ratings
Wiremod E2 Extension: ChatPrint
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Scenic
File Size
Posted
Updated
1.183 KB
11 Sep, 2013 @ 12:42pm
5 Aug, 2017 @ 4:30pm
4 Change Notes ( view )

Subscribe to download
Wiremod E2 Extension: ChatPrint

In 2 collections by Divided
The Abyss
58 items
The Abyss #2
26 items
Description
Wiremod E2: ChatPrint
===============

A utility function to print coloured text to a players chat area.

This is a E2 function! I didn't just upload an E2 to workshop!

Requires Wiremod, duh.

Usage
===============

chatPrint(vector color, string text, ...)
chatPrint(entity player, vector color, string text, ...)
chatPrint(array r)
chatPrint(entity player, array r)

Examples
===============

Please click here[github.com].
111 Comments
Sanders 18 Jul, 2023 @ 2:12pm 
is there a way to add a set time it stays on screen?
Sanders 7 Jan, 2022 @ 3:24am 
its too bad you cannot change the font would be nice.
NOOBoBOT 10 Oct, 2020 @ 11:24am 
This mod it isn't i think, i typing in chat and the rainbow chat its really it isn't... :steamfacepalm:
Ryohei Arisu 2 Jul, 2020 @ 6:09pm 
About the example code: Is there a way to change the username color?
Revenge 30 Nov, 2019 @ 5:08pm 
Not working.
24kWarLord 4 Apr, 2019 @ 3:30pm 
how do i chat the command?
lol 24 Mar, 2019 @ 3:14pm 
bruh
tiny hawk 26 Aug, 2018 @ 9:15am 
this is allready in the game..
Sanders 20 Nov, 2017 @ 2:33am 
ok so im trying to make it so my clock e2 will print in chat the time using this format 00:00:00 in chat every 60 sec

how would i?



P.S my e2 is doing this for time calculations Hrs = time("hour")+5
Mins = time("min")+1-1
Secs = time("sec")

if (Hrs >= 12) { PM = 1 } else { PM = 0 }

if (PM) { Subtractor = 1 } else { Subtractor = 0 }

Hrs = Hrs - (Subtractor * 12)



and this for the print part

if(On)
{
}
timer("playsound",15000)

if(clk("playsound")){
hideChat(1)
print(TIME:toString())

}



can you help?
Ryohei Arisu 21 Oct, 2017 @ 7:10am 
wiremod works because you can make all kinds of machines,Expression 2 commands (like admin commands), and you can have chatprint