Raised This Month: $ Target: $400
 0% 

[ H3LP ] Block rotating ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-20-2017 , 12:12   [ H3LP ] Block rotating ?
Reply With Quote #1

Hey, how to block the player model rotating when the mouse move ?
__________________








CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-20-2017 , 13:28   Re: [ H3LP ] Block rotating ?
Reply With Quote #2

Search - https://forums.alliedmods.net/showthread.php?t=258006
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-20-2017 , 14:59   Re: [ H3LP ] Block rotating ?
Reply With Quote #3

Sorry, my mistake. I will test.
__________________








CrazY. is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 04-20-2017 , 16:55   Re: [ H3LP ] Block rotating ?
Reply With Quote #4

FL_FROZEN, it blocks normal move + mouse move + duck + jump, etc.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Old 04-20-2017, 17:05
CrazY.
This message has been deleted by CrazY..
Old 04-21-2017, 09:44
CrazY.
This message has been deleted by CrazY..
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
Old 04-22-2017, 12:58
CrazY.
This message has been deleted by CrazY..
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-22-2017 , 15:59   Re: [ H3LP ] Block rotating ?
Reply With Quote #9

PHP Code:
new Float:fAngles[33][3// this is global variable, get the ( EV_VEC_v_angles) angles   when starts climbing.


///// prethink
            
entity_set_vector(idEV_VEC_v_anglesfAngles[id]);
            
entity_set_int(idEV_INT_fixangle1); 
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-22-2017 at 19:48.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-22-2017 , 17:50   Re: [ H3LP ] Block rotating ?
Reply With Quote #10

See the images please

https://www.mediafire.com/download/w16j9nynm3qsh31
__________________








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


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