AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   hook zoom and set close of (https://forums.alliedmods.net/showthread.php?t=307583)

undead52 05-16-2018 09:26

hook zoom and set close of
 
as the topic when client zooming after 0.5-1.0 sec i want to set his zoom off. is it possible ?

Reiko1231 05-17-2018 05:04

Re: hook zoom and set close of
 
Yes it's possible.
To hook zoom you have to hook weapon_zoom event.
To wait specified time you should use CreateTimer function.
To set zoom off take a look for any noscope plugin, for example, this.


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

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