O ho, I did not.  That has solved the problem, thanks :D.

-Kohan



> Date: Mon, 13 Jul 2009 09:43:47 +0200
> From: vannoortsan...@gmail.com
> To: hlcoders@list.valvesoftware.com
> Subject: Re: [hlcoders] Variable not being replicated correctly.
> 
> http://developer.valvesoftware.com/wiki/Networking_Entities
> 
> Did you added m_iHearts to your send/recv table?
> 
> Sander
> 
> On Mon, Jul 13, 2009 at 9:35 AM, Kohan Venets<idr...@hotmail.com> wrote:
> >
> > Hi, I've added a new variable to SDKPlayer, "CNetworkVar( int, m_iHearts 
> > );" on the server and "int m_iHearts;" on the client, both private, with 
> > some read/write functions on the server, and read functions on the client.  
> > I modified the Health display on the HUD to simply get its 'health' value 
> > from this new hearts variable, but it always reads as zero.  Is there 
> > another line somewhere I need to add for networked variables to work 
> > properly?
> >
> > -Kohan
> >
> > _________________________________________________________________
> > Windows Live™: Keep your life in sync.
> > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
> > _______________________________________________
> > 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
> 

_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to