What you're proposing defeats the point of the client-specific (i.e.
*user*) variables.

Might as well just maintain the values on the server and transmit to all
clients.

david

-----Original Message-----
From: Georges Giroux [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 1:51 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Accessing another client's iuser variable

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello,

I need some help or advice...this is my problem:
-Two clients, client A, client B.
-1 server

-On the server, iuser3 for client A is set to 55 (for example)
-On the server, iuser3 for client B is set to 45 (for example)

When client A receives entity information, I'd like to be able to access
client B's iuser3 variable as well. The problem is, it is always set to
0!
Client A's own iuser3 is properly sent (delta.lst, etc etc) as well
as Client B's own iuser3. It's just from Client A I want to access
Client B's iuser3 in these two functions (in cl_dll\entity.cpp):

HUD_ProcessPlayerState
HUD_TxferPredictionData

Any ideas/suggestions?

Georges

--

_______________________________________________
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