I've noticed this bug too.  The message normally plays properly only if
the level is loaded via trigger_changelevel from another level.  If you
load it directly via console it won't work.

Caleb 'Ghoul' Delnay
Project Leader: Kill Or Be Killed
http://www.kobkmod.net


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of botman
Sent: Wednesday, July 16, 2003 8:18 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] bug in sdk or hl update?

>   and message was displayed before level was loaded. I've fixed that
>   changing 0.3 to 1.3... I guess it is nothing to do with world.cpp
>   because gpGlobals->time + 0.3; was in previous sdk and everything
>   worked 'ok'. So why this happens?

You shouldn't send messages to the clients before they are initialized.

You should probably set a global flag somewhere indicating that a
message is
pending being sent to clients and then when the clients spawn (after the
HUD
init stuff), send the message to the client(s) and clear the global
flag.

Jeffrey "botman" Broome

_______________________________________________
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