--
[ Picked text/plain from multipart/alternative ]
OverrideView is only used on the client.
It's called from the view code.
On Jan 1, 2008 10:53 PM, Minh <[EMAIL PROTECTED]> wrote:
> --
> [ Picked text/plain from multipart/alternative ]
>
> All the weapon code is executed on both client and server.. So in
> CWeaponSDKBase::DEploy function, just make a portion of the code that is
> client side exclusive. You do this by using the #ifdef directives
>
> CWeaponSDKBase::Deploy
> {
> ......
>
> #ifdef CLIENT_DLL
> C_BasePlayer::OverrideView ( );
> #endif
> .......
> }
>
>
> ----- Original Message -----
> From: "caleb smith" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, January 01, 2008 7:36 PM
> Subject: [hlcoders] Server-Client Confusion
>
>
> --
> [ Picked text/plain from multipart/alternative ]
>
> I am trying to change the position of the camera view with the override
> view
> function in CBasePlayer whenever the player deploys a weapon. I am having
> problems though. This function is in the Client project. Is there any
> alternative or way around this?
> --
>
> _______________________________________________
> 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
>
>
--
-omega
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders