I'm using the script below to set the angles of a weapon to the client's eye angles.
[lua]
function SWEP:GetViewModelPosition( pos, ang )
ang = LocalPlayer( ):EyeAngles( );
return pos, ang;
end;
[/lua]
In my test, I have seen that when the SWEP has the following, the roll and yaw angles are dependent on the screen and not on the client's eye angles.
[lua]
SWEP.ViewModelFlip = true; -- Needs to be used for some CS:S weapons.
[/lua]
When ViewModelFlip is set at false there is no problem, and the gun angles resort to the client's eye angles. Is there anyway to fix this problem?
Thanks guys
[highlight](User was banned for this post ("Bump" - mahalis))[/highlight]
Whatever assholes. I just needed some help with something simple that you "Gods" could figure out in a matter of minutes. I guess you cannot and instead just troll around banning people to meet your bullshit quota.
Sorry, you need to Log In to post a reply to this thread.