AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Nightvision enabled (https://forums.alliedmods.net/showthread.php?t=206037)

Backstabnoob 01-17-2013 16:23

Nightvision enabled
 
Any way to check if a user has nightvision enabled? Hooking the command would be inaccurate.

Edit: Nevermind, didn't search properly. https://forums.alliedmods.net/showthread.php?t=75519

ConnorMcLeod 01-17-2013 16:29

Re: Nightvision enabled
 
Code:

stock const m_bGotNVG = 516;    //    [g/s]et_pdata_bool
stock const m_bIsNVGSwitchedOn = 517;    //    [g/s]et_pdata_bool

http://forums.alliedmods.net/showthr...01#post1712101

Backstabnoob 01-17-2013 17:18

Re: Nightvision enabled
 
Thanks, I'll use your version instead.


All times are GMT -4. The time now is 13:25.

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