Raised This Month: $ Target: $400
 0% 

Solved [HELP] pev_angles Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hellmonja
Senior Member
Join Date: Oct 2015
Old 07-16-2019 , 15:06   Re: [HELP] pev_angles Problem
Reply With Quote #3

Quote:
Originally Posted by CrazY. View Post
pev_angle it's model angle, pev_v_angle it's the view angle, that being said, rotate the pev_v_angle instead.
I'm sorry but it doesn't seem to work. It still resets the view (for example I'm looking up and when I turn it on it instantly makes me look straight forward) plus the effect is not there unlike when using pev_angle. I've already disabled all other plugins and only had that one running...

PHP Code:
public Ham_Dizzy_PreThink(user)
{
    new 
Float:old_angle[3];
    
    
pev(userpev_v_angleold_angle);
    
    
g_dizzyangle[user][0] = old_angle[0];
    
g_dizzyangle[user][1] = old_angle[1];

    if(
g_is_dizzy[user])
    {
        
g_dizzyangle[user][2] += 2.0;
        
set_pev(userpev_v_angleg_dizzyangle[user]);
        
set_pev(userpev_fixangle1);
    }
    else
        
DisableHamForward(HandleDizzyPreThink[user]);

    return 
HAM_HANDLED

__________________
hellmonja is offline
 



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 17:28.


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