Chat-TimeStamps
1 Attachment(s)
Chat-TimeStamps
Discord: Mugiwara#2249 This is a plugin that provides timestamp prefixes in chat. Thanks to the unixtime_sourcemod include, we're allowed to do some fun stuff as what you see in this plugin. !cts, opens a menu with a bunch of names, those names are timezones. Select your desired timezone, type something in chat and you will never miss your favourite episode of One Piece, since you can see the clock while playing a game of Counter-Strike. The selected timezone is saved, no need to select one over and over again ^^ (default is the server's timezone). You will need this include to compile the plugin. Also feel free to do any changes, let me know if I did something retarded, thank you. Changelog: Code:
v.1.0.2 - Added time to scoreboard, aswell as cvar for enabling / disabling it. Have fun with the plugin :) https://i.gyazo.com/33931b47293ae089...a4f09e94f4.png |
Re: Chat-TimeStamps
Why don't you use scp, and do something like this:
Code:
public Action OnChatMessage(int &client, Handle recipients, char[] sName, char[] sMessage) |
Re: Chat-TimeStamps
Quote:
|
Re: Chat-TimeStamps
Quote:
What i wrote, does the same thing without the ability to change the time zone, in 5 lines. I'm telling you this just so you could learn from that and get better. |
Re: Chat-TimeStamps
That's fine. I accept constructive criticism. *unecessary*
|
Re: Chat-TimeStamps
Can be done for CS:Source ?
|
Re: Chat-TimeStamps
Quote:
PHP Code:
|
Re: Chat-TimeStamps
Quote:
- "v.1.0.2 - Added time to scoreboard, aswell as cvar for enabling / disabling it." does not work in cssource |
Re: Chat-TimeStamps
*Missunderstood* I have no idea how to do it for css, might wanna check out amxmodx forum and make a request.
|
Re: Chat-TimeStamps
If i use this with CCC, so does this strip chat tags used by CCC, or work together?
Like this: Code:
12:34 - «Admin» Allower: Hello, world! |
All times are GMT -4. The time now is 01:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.