-- [ Picked text/plain from multipart/alternative ] Now in theory I know how todo this, because I have done it with vectors and booleans but strings are elluding me for some reason :|
hl2mp_gamerules.h CNetworkVar( string_t, m_sHudText); hl2mp_gamerules.cpp #ifdef CLIENT_DLL RecvPropString(RECVINFO( m_sHudText )), #else SendPropString(SENDINFO( m_sHudText)), #endif Personally I think the problem is in the send and receive but I have no idea what it could be, I use this method with vectors and booleans. entity_foo.cpp pRules->m_sHudText = AStringFoobio; That works because I can see it in the debugger working. But when I come to the client for example hud_foo.cpp And I want to put a string on the screen like so; pString = pRules->m_sHudText; HudText is always ""; This method usually works because I have used other data objects. Any help will be greatly appreciated. -- - Benjamin Davison -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

