Raised This Month: $51 Target: $400
 12% 

TimeStamp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FatuM
Member
Join Date: Jan 2007
Old 05-02-2007 , 19:07   TimeStamp
Reply With Quote #1

Hello!
I got the idea of a "TimeStamp plugin", which prints the time [hh:mm:ss] before every chat message (server message, plugin message, player message..).
I have searched but I found nothing :S

For example, this feature is availaible on irc :


Can someone help me please and make my wish come true?
__________________



Last edited by FatuM; 05-02-2007 at 19:11. Reason: add example
FatuM is offline
Send a message via MSN to FatuM
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-03-2007 , 02:05   Re: TimeStamp
Reply With Quote #2

I can see this getting very annoying... >_>
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-08-2007 , 18:02   Re: TimeStamp
Reply With Quote #3

I tried to make it.
The say- and say_team messages working fine!

I have also tried to tag the "fire in the hole" messages with a timestamp, but they look a little weird..
If you want to test the "fire in the hole" messages though simply remove the comments...(i have marked them in the source)

No commands or CVARS needed..only install the plugin and it should do what you want more or less

greetz regalis


PS: if anyone got an idea to catch all "chat"-messages please tell me ;)
Attached Files
File Type: sma Get Plugin or Get Source (TimeStampChat.sma - 741 views - 7.3 KB)
__________________
regalis is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-10-2007 , 08:24   Re: TimeStamp
Reply With Quote #4

Tested an looks nice! Gj...but i think the text wrote by player should be yellow ...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
_Master_
Senior Member
Join Date: Dec 2006
Old 05-10-2007 , 10:01   Re: TimeStamp
Reply With Quote #5

This is a bit off-topic but I fail to understand the purpose of ShowColorMessage(), ColorSelection() and Team_Info(). By removing those functions and rethinking the whole thing I was able to do the same thing. AFAIK color chat works only for CS and they have nothing to do with mod-independent coding.

In case someone has any clues on this, please let me know

Last edited by _Master_; 05-10-2007 at 11:05.
_Master_ is offline
FatuM
Member
Join Date: Jan 2007
Old 05-10-2007 , 10:40   Re: TimeStamp
Reply With Quote #6

Erf I found a "bug"...
I have installed it on my csdm server, but when I type "guns" or "menu", the menu don't show up.... :S
__________________


FatuM is offline
Send a message via MSN to FatuM
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-10-2007 , 10:49   Re: TimeStamp
Reply With Quote #7

I saw this too...! Ex: I have
Code:
register_clcmd("say /cmd","cmd")
but when i type /cmd nothing happen!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
_Master_
Senior Member
Join Date: Dec 2006
Old 05-10-2007 , 10:50   Re: TimeStamp
Reply With Quote #8

Quote:
Originally Posted by FatuM View Post
Erf I found a "bug"...
I have installed it on my csdm server, but when I type "guns" or "menu", the menu don't show up.... :S
There is no bug. That was to be expected. Chat cmds WON'T work with this.
You could place this last in your plugins.ini

Last edited by _Master_; 05-10-2007 at 11:04.
_Master_ is offline
FatuM
Member
Join Date: Jan 2007
Old 05-10-2007 , 11:30   Re: TimeStamp
Reply With Quote #9

Ohhh please _Master_ would you be so kind to excuse me for being so stupid..

Anyway, do you know how to avoid this "problem"?
__________________


FatuM is offline
Send a message via MSN to FatuM
_Master_
Senior Member
Join Date: Dec 2006
Old 05-10-2007 , 11:57   Re: TimeStamp
Reply With Quote #10

Did I said you're stupid ?!?
Anyways this won't work with chat cmds because the text SAID is NOT the text being DISPLAYED (nor send though the system for that matter). I belive this plugin adds a time stamp to that, so the text send has that timestamp in front. Furthermore it uses message() calls not Emessage().

On that other matter...
Quote:
Originally Posted by _Master_ View Post
You could place this last in your plugins.ini
_Master_ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode