Raised This Month: $32 Target: $400
 8% 

SendMessage


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   EKS (166)
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 09-26-2005 , 13:58   SendMessage
Reply With Quote #1

Code:
/*********************************************** SendMessage.sma With this plugin you can send messages through the console (c) 2005 core | Greenberet :: <a href="mailto:[email protected]">[email protected]</a> > commands:     amx_sendmessage <Dest> <MessageID> <Float:OriginX> <Float:OriginY> <Float:OriginZ> <Player> <Format> <{Float,_}...>         ~ the syntax for <Format> is:             %a  Float:angle             %b  byte             %c  char             %co Float:coord             %e  entity             %l  long             %s  short             %sz string > Version 1.1     you can now use for <Dest> the defines( MSG_ALL, MSG_BROADCAST, ... )     you can now use for <MessageID> also the message name( "ResetHUD", "Health", ... ) > Version 1.0     Release > modifiy this file like u want, but please give credits     and notify me about it. ***********************************************/
Tested on amxx 1.6

Have fun with it.
Attached Files
File Type: sma Get Plugin or Get Source (sendmessage.sma - 1721 views - 4.2 KB)
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Raven
Junior Member
Join Date: Mar 2004
Old 09-26-2005 , 14:50  
Reply With Quote #2

Very nice, of course
Raven is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 09-29-2005 , 15:36  
Reply With Quote #3

I updated the plugin.

Code:
> Version 1.1
    you can now use for <Dest> the defines( MSG_ALL, MSG_BROADCAST, ... )
    you can now use for <MessageID> also the message name( "ResetHUD", "Health", ... )
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
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 18:26.


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