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
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
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
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
, 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
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
6 matches
Mail list logo