You have to write your own recipient filter class that is
derived from IRecipientFilter. The recipient filter
holds player indeces (1 ... maxplayers). You can
find an example in the SDK, but you cant use it,
because it uses CBasePlayer or something.

Greets
Ronny


How are you setting IRecipientFilter to an instance of the player, when I
do
it the server dies (fun!).

----- Original Message -----
From: "Ronny Schedel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 12:37 PM
Subject: Re: [hlcoders] UserMessage? Ahh!


I use IServerGameDLL::GetUserMessageInfo() for this.
But this function is broken in CS and HL2MP. It crashes
the whole server on invalid indeces (CS at 25, HL2MP at 22),
so you should not go over these limits.

Greets
Ronny


Thanks Ronny, now Mr.Wizard have you got a way to use GetUserMessageName
(part of usermessage.h/.cpp in game_shared)? :-)



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders







_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to