Code is ok. name, sizereturn and boolrtn will be filled by the function and doesnt need a value assigned. User messages starts with index 0 (your x). The only thing could be, that srvdllfwd is NULL and it crashes.
Greets Ronny
I got that, the problem I'm having at the moment is GetUserMessageInfo() crashing the server each time it is called. Here is what I'm using: char name[128] = ""; int sizereturn = 0;
bool boolrtn = false;
boolrtn = srvdllfwd->GetUserMessageInfo(x, name, 128, sizereturn);
Whatever x is (1~10) it crashes. No error..
----- Original Message ----- From: "Hendrik "Punisher" Leppkes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 08, 2004 4:09 PM Subject: RE: [hlcoders] UserMessage? Ahh!
There is a working example on hl2coders.com how to create a IRecipientFilter class :)
http://www.hl2coding.com/forums/viewtopic.php?t=31
-- Punisher
_______________________________________________ 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

