Raised This Month: $ Target: $400
 0% 

Possible to change player's view offset?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klin34970
Member
Join Date: Feb 2014
Old 04-28-2014 , 14:41   Re: Possible to change player's view offset?
Reply With Quote #1

Hi, im doing (trying) to change the view client too.
I tried this :

PHP Code:
    new Float:vec[3];
    
GetEntPropVector(clientProp_Send"m_vecOrigin"vec);
    
vec[2] -= 30.0;
    
SetEntPropVector(clientProp_Send"m_vecOrigin"vec); 
It's works but when the player move it reset the view

I found :

PHP Code:
    //HookEvent("player_footstep", Event_ViewOfChicken, EventHookMode_Pre);
    //HookEvent("player_jump", Event_ViewOfChicken, EventHookMode_Pre); 
But it's bug.

I tried only this today so tomorrow I will try more but If someone have the solution^^

PS : The attachement eye doesn't work. Everythings it's good positions of C4 on back, grenade,... My model use ValveBiped like a normal player. Hitboxes, bones, attachements are good. I need just this fuck**** view

Bye

Last edited by klin34970; 04-28-2014 at 14:48.
klin34970 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode