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.