Hello All
Just a quick question...
I can retrieve the "player_say" event using the following:
void CEmptyServerPlugin::FireGameEvent( KeyValues * event )
{
const char * name = event->GetName();
Msg( "CEmptyServerPlugin::FireGameEvent: Got event \"%s\"\n", name );
if (FStrEq(name,"player_sa
--
[ Picked text/plain from multipart/alternative ]
who do you want the event to reach?
On 4/1/06, Paul Kirby <[EMAIL PROTECTED]> wrote:
>
> Hello All
>
> Just a quick question...
>
> I can retrieve the "player_say" event using the following:
>
> void CEmptyServerPlugin::FireGameEvent( KeyValues *
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Did you try and make it return false? Might not work but is worth a shot.
Bob Lach wrote:
>--
>[ Picked text/plain from multipart/alternative ]
>who do you want the event to reach?
>
>On 4/1/06, Paul
How can you make it return false when the function is a void?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Stephen Swires
> Sent: 01 April 2006 23:37
> To: hlcoders@list.valvesoftware.com
> Subject: Re: [hlcoders] Rem
t: 01 April 2006 23:14
> To: hlcoders@list.valvesoftware.com
> Subject: Re: [hlcoders] Remove event "player_say" (Source
> Server Plugin)
>
> --
> [ Picked text/plain from multipart/alternative ] who do you
> want the event to reach?
>
> On 4/1/06, Paul Kirby &
ry if I am not explaining this right.
>
> Thanks in advance
>
> Paul
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Rob Lach
> > Sent: 01 April 2006 23:14
> > To: hlcoders@list.valvesoftware.com
> &g
should do.
>>
>>Sorry if I am not explaining this right.
>>
>>Thanks in advance
>>
>>Paul
>>
>>
>>
>>>-Original Message-
>>>From: [EMAIL PROTECTED]
>>>[mailto:[EMAIL PROTECTED] On Behalf Of Rob Lach
>>>
; >>any
> >>player.
> >>
> >>Its basically a filter for say and team_say.
> >>
> >>If removing the event isn't possible then editing/updating an event
> before
> >>any player gets it, should do.
> >>
> >>Sorry if I a
is, when the server gets a player_say event
> > from
> > >>any player, and (key "text")(i.e text they send using say or team_say)
> =
> > a
> > >>set string value, I then want that event to be removed before it gets
> to
> > >>any
>
gt;>>>Well what I want it to do is, when the server gets a player_say event
>>>>
>>>>
>>from
>>
>>
>>>>any player, and (key "text")(i.e text they send using say or team_say) =
>>>>
>>>>
>>a
;On 4/1/06, Paul Kirby <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >>Well what I want it to do is, when the server gets a player_say
> event
> > > from
> > > >>any player, and (key "text")
quot;)(i.e text they send using say or
> >>team_say) = a set string value, I then want that event to
> be removed
> >>before it gets to any player.
> >>
> >>Its basically a filter for say and team_say.
> >>
> >>If removing the event isn
rom: [EMAIL PROTECTED] [mailto:hlcoders-
> [EMAIL PROTECTED] On Behalf Of Paul Kirby
> Sent: 03 April 2006 21:11
> To: hlcoders@list.valvesoftware.com
> Subject: RE: [hlcoders] Remove event "player_say" (Source Server Plugin)
>
> Well I didn't really want to use Metamod: So
13 matches
Mail list logo