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

helpful_messages


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   EKS (166)
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-14-2005 , 04:26   helpful_messages
Reply With Quote #1

Description

This plugin may sound useless to people, but I can assure you it's pretty useful to coders. Read on below if you are interested about what this plugin can do.

VERSION 1.0

PURPOSE OF PLUGIN: To catch log event messages! Like when you respawn, plant the bomb, die, drop the bomb, when the round has started, ended, etc.

Have you scriptors ever wanted to catch an event, like when the round has started or ended, when the user has dropped the bomb, or planted it, so that you can tell the server what to do if that event happens? Well this plugin is the answer if you want to know all of the log event messages, and when it is triggered. This plugin will give you log messages, one argument at a time, incase you want to call a function at a specific time but do not know the arguments of the log event message.

AMX-COMMAND: amx_message <1=Enable, 0=Disable> Allow users to view logevent messages

CVAR: message_enable 1 //Default is 1, set to 0 to disable the log messages.

NOTE: This plugin should only be used if you are planning to use the native function register_logevent(const function[], argsnum(number of args in message), ...(catch message here)) to catch an event like when the round starts, end, who gets killed, etc, for future plugins you might make.

P.S.: THIS PLUGIN IS NOT USELESS, IN FACT IT CAN BE VERY HELPFUL, WHEN YOU ARE CODING YOUR OWN PLUGIN AND WANT TO CATCH AN EVENT! EVEN I AM USING THIS PLUGIN TO WRITE FUTURE PLUGINS.

Added an image so you guys can see how the plugin will look like.
Attached Files
File Type: sma Get Plugin or Get Source (helpful_messages.sma - 2398 views - 3.7 KB)
File Type: zip log_image.zip (340.7 KB, 1597 views)
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Würt
Old 09-14-2005 , 07:29  
Reply With Quote #2

good idea, nice plugin
it's very helpfull
1+ Karma 4 you
__________________
SORRY 4 MY BAD ENGLISH
ch3cker is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 09-14-2005 , 07:50  
Reply With Quote #3

Nice.
Helpfull plugin for beginner servers etc.
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-14-2005 , 18:31  
Reply With Quote #4

Added an image so you guys can see how the plugin works. And thanks for the support and karma guys .
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 09-14-2005 , 19:00  
Reply With Quote #5

This plugin was already made by JGHG i belive :/
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 09-14-2005 , 20:02  
Reply With Quote #6

Didn't Geesu make something like this? message interpreter?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-14-2005 , 22:41  
Reply With Quote #7

Well that's for events, but not log events. And thanks for pointing me out to what geesu made. I believe that this will be helpful as well.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 09-14-2005 , 23:47  
Reply With Quote #8

Oh, okay.. Cool
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-20-2005 , 22:28  
Reply With Quote #9

Wow, my plugin got approved, thanks for approving it EKS .
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-24-2005 , 21:08  
Reply With Quote #10

OMFG. YOU ARE A GOD. I WORSHIP U.
+ fucking karma!
haimmaik is offline
Reply


Thread Tools
Display Modes

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 05:25.


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