Why din't you use a MSG_ALL (MESSAGE_BEGIN, etc...). You could add a custom
class derived from CHudBase... Then you implement your class as needed.

I don't know if it's really interesting, but it could help :)

      - Cortex : mapper & coder www.hlalbator.fr.st


----- Original Message -----
From: Christopher McArthur
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 9:15 PM
Subject: Re: [hlcoders] Accessing another client's iuser variable


Is the iuser3 variable sent across in the AddToFullPack function in
client.cpp on the server.dll.
If its not in there, then it will not be sent across the network to all
clients like you want.


----- Original Message -----
From: "Georges Giroux" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 1:51 PM
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


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

Reply via email to