View Single Post
DarthMan
Veteran Member
Join Date: Aug 2011
Old 01-02-2019 , 07:28   Re: [ H3LP ] Player limit angles
Reply With Quote #12

Quote:
Originally Posted by Natsheh View Post
Simply just retrieve the old velocity
PHP Code:
        entity_get_vector(idEV_VEC_velocityfVelocity);
        
fVelocity[1] = 0.0;
        
fVelocity[2] = 0.0;

        
entity_set_vector(id,EV_VEC_velocityfVelocity
And this will limit the angles without having to set them manually?
DarthMan is offline