AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSGO] block aim moving (https://forums.alliedmods.net/showthread.php?t=293317)

vamvam 01-29-2017 04:38

[CSGO] block aim moving
 
Hello,

have anyone idea how to block aim move in CSGO?

PS: I do not want timers..

Thanks

Michael Shoe Maker 01-29-2017 08:08

Re: [CSGO] block aim moving
 
Can't really. I just set their eye angles to their previous angle before "blocking" their mouse in OnGameFrame();

vamvam 01-30-2017 09:27

Re: [CSGO] block aim moving
 
OnGameFrame(); is better than timer with 0.05 s ?

Starbish 01-30-2017 09:36

Re: [CSGO] block aim moving
 
well... if you dont mind being unable to move player, you can try

PHP Code:

SetEntityFlags(clientGetEntityFlags(client)&~FL_ATCONTROLS); 


vamvam 01-30-2017 15:08

Re: [CSGO] block aim moving
 
not work :-/ Okey seems i can do it only with timers.

Neuro Toxin 01-30-2017 16:13

Re: [CSGO] block aim moving
 
OnUserRunCommand is by far the best place to put a clients angles back.

vamvam 02-01-2017 07:17

Re: [CSGO] block aim moving
 
Can u give me example pleas?


All times are GMT -4. The time now is 18:41.

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