[hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Manip
This is insane. 90% of the information around about the SDK doesn't work in server plugins. Look at this page for a good example: http://www.valve-erc.com/srcsdk/Code/hud_elements.html void UserMessageBegin( IRecipientFilter filter, const char *messagename ) The page doesn't say it doesn't apply

Re: [hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Ronny Schedel
HudMsg isnt working with CS yet, try the same with hl2mp and it should work. For x and y use -1, it will center the message (10 and 50 is a little bit high afaik). Greets Ronny This is insane. 90% of the information around about the SDK doesn't work in server plugins. Look at this page for a good

Re: [hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Manip
If that was true then why is it returning a type code-number instead of -1? - Original Message - From: Ronny Schedel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 11, 2004 6:14 PM Subject: Re: [hlcoders] ServerPlugins - Maze without map HudMsg isnt working with CS yet

Re: [hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Ronny Schedel
then why is it returning a type code-number instead of -1? - Original Message - From: Ronny Schedel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 11, 2004 6:14 PM Subject: Re: [hlcoders] ServerPlugins - Maze without map HudMsg isnt working with CS yet, try the same with hl2mp

Re: [hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Manip
, by the way could EASILY be resolved by simply adding a if(n == NULL) return; - Original Message - From: Ronny Schedel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 11, 2004 6:59 PM Subject: Re: [hlcoders] ServerPlugins - Maze without map The user message is registered

Re: [hlcoders] ServerPlugins - Maze without map

2004-12-11 Thread Ronny Schedel
If you get a crash, then something with your code is wrong. The msg_type for HudMsg is 5 in both mods. Get rid of the freaky code above UserMessageBegin and try only to send the user message. If you still get a crash, then your FilterClass has a wrong implementation. It should hold player indeces