--
[ Picked text/plain from multipart/alternative ]
Hrmmm, I use the HL2MP SDK

Do you have the files on both the server and client? Basically how mine is
setup is just it sends information to the client so it can display something
on the hud.

My file structure is basically:

Client:
hl2mp_gamerules.h
hudelement.cpp
Server
hl2mp_gamerules.h
foo.cpp

foo sends the information to hl2mp_gamerules which than does some voodoo
magic with CNetWorkVar with my hudelement.cpp periodical checking if it has
been updated.

But, you have a panel. You could probably do it like that, but I also have
something like you have it basically is used for distributing skill and stat
points.

I retrofitted this article:
http://www.sourcewiki.org/wiki/index.php/Making_Teams_Work for my purposes.

And sorry if I am not making any more sense, I am knackered and am about to
get some sleep :P I'll probably read this tommorow and think "wtf was I
going on about"

On 4/10/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> Alright, well my CNetworkVar is an int, but I guess I accidently named it
> m_b, so you must have
> thought is was a boolean. Anyway, Alright I have done what you said
>
> and basically I have
>
> #ifdef CLIENT_DLL
>     engine->ClientCmd("ToggleSpellPanel");
>     CSDKGameRules *pRules = SDKGameRules();
>     pRules->m_bCurrentSpellType = spell->spellId;
> #endif
>
> and I get the error m_bCurrentSpellType is not a member of C_SDKGameRules,
> do I need to declare it there too?
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
- Benjamin Davison
--

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

Reply via email to