Raised This Month: $ Target: $400
 0% 

Control Lock Mouse


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
artist
Member
Join Date: Nov 2013
Old 12-20-2014 , 14:18   Control Lock Mouse
Reply With Quote #1

I want to block the movement of the mouse for a while.

Is there any way without ?

Code:
#include <amxmodx> #include <fakemeta> new bool:g_bla[33], g_v_angle[33][3] public plugin_init() {     register_clcmd("say y", "functions")     register_forward(FM_PlayerPreThink, "player_think", 1) } public functions(id) {     if(g_bla[id]) g_bla[id] = false     else     {         pev(id, pev_v_angle, g_v_angle[id])         g_bla[id] = true     } } public player_think(id) {     if(!is_user_alive(id)) return     if(!g_bla[id]) return         set_pev(id, pev_v_angle, g_v_angle[id])     set_pev(id, pev_fixangle, 1) }

Last edited by artist; 12-20-2014 at 14:19.
artist is offline
 


Thread Tools
Display Modes

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 15:21.


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