--
[ Picked text/plain from multipart/alternative ]

Greetz again,


Thank you for the great help on the client->server messaging (using 
ClientCmd()). That worked well!

Just one more question:

We're trying to open a simple .txt file to populate a vgui panel (well, a 
multi-line label)... and the program is trying to open the file in:

\Steam\steamapps\(accountname)\source sdk base

The file should exist on the client only, which means we don't want to have to 
specially insert it into the Steam directory.

I'm sure chdir() (from the C library) could get the job done, but we don't want 
to hardcode the pathname. Is there another way to get this directory from 
inside the code?

(root)\(modname)\bin

or

(root)\(modname)\src\cl_dll

?

Thank you!


Chad


_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate.  Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline
--

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

Reply via email to