Raised This Month: $ Target: $400
 0% 

[ H3LP ] Block rotating ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-22-2017 , 12:57   Re: [ H3LP ] Block rotating ?
Reply With Quote #7

Well, I've tryied this, but dont work.

Code:
        if (button & IN_MOVELEFT)         {             new Float:fAngles[3];             entity_get_vector(id, EV_VEC_angles, fAngles);             fm_angle_byside(id, -10, fAngles);             entity_set_vector(id, EV_VEC_angles, fAngles);             entity_set_int(id, EV_INT_fixangle, 1);         }         else if (button & IN_MOVERIGHT)         {             new Float:fAngles[3];             entity_get_vector(id, EV_VEC_angles, fAngles);             fm_angle_byside(id, 10, fAngles);             entity_set_vector(id, EV_VEC_angles, fAngles);             entity_set_int(id, EV_INT_fixangle, 1);         }         stock fm_angle_byside(index, multiplier, Float:angle[3])         {             new Float:vec[3];             entity_get_vector(index, EV_VEC_v_angle, vec);             engfunc(EngFunc_MakeVectors, vec);             global_get(glb_v_right, vec);             angle[1] = vec[1] * multiplier;         }
__________________








CrazY. 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:57.


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