Raised This Month: $ Target: $400
 0% 

stop mouse on intermission


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 08-25-2018 , 13:32   Re: stop mouse on intermission
Reply With Quote #1

But intermission already blocks mouse
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 08-25-2018 at 13:32.
Ghosted is offline
666
Senior Member
Join Date: Mar 2015
Old 09-06-2018 , 14:53   Re: stop mouse on intermission
Reply With Quote #2

Quote:
Originally Posted by Ghosted View Post
But intermission already blocks mouse
I was searching and found this function but you see some vibrations when moving the mouse, it is possible to remove those vibrations or there is another better function

PHP Code:
#include < amxmodx > 
#include < engine > 

#define VERSION "0.0.1" 

static bool:g_bHasAngleLock33 ]; 
static 
Float:g_flLockedAngles33 ][ ]; 

public 
plugin_init()  

    
register_plugin"LOCK TEH ANGLEZ"VERSION,"Juice" ); 
    
register_clcmd"say /lock""ClientCommand_Lock" ); 


public 
client_putinserverid )      

    
g_bHasAngleLockid ] = false
    
g_flLockedAnglesid ][ ] = g_flLockedAnglesid ][ ] = g_flLockedAnglesid ][ ] = 0.0;  


public 
client_disconnectid )  
{     
    
g_bHasAngleLockid ] = false
    
g_flLockedAnglesid ][ ] = g_flLockedAnglesid ][ ] = g_flLockedAnglesid ][ ] = 0.0


public 
ClientCommand_Lockid 

    
g_bHasAngleLockid ] = !g_bHasAngleLockid ]; 
    
entity_get_vectoridEV_VEC_v_angleg_flLockedAnglesid ] ); 


public 
client_PreThinkid 

    if( 
is_user_aliveid ) && g_bHasAngleLockid ] ) 
    { 
        
entity_set_vectoridEV_VEC_anglesg_flLockedAnglesid ] ); 
        
entity_set_intidEV_INT_fixangle); 
    } 

666 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-06-2018 , 15:16   Re: stop mouse on intermission
Reply With Quote #3

Quote:
Originally Posted by Ghosted View Post
But intermission already blocks mouse
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 09:55.


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