Hello.
Im trying to figure out if the attachments of a player weapons are on (torch, lasersight).
I know how to find the player, the player held weapon, and the list the weapon attachments, but none of those seem to have a variable indicating status of the light.
The BasePlayer does have working LightToggle() and SetLightsOn() methods to change turn on/off the light, but I just cant find any actual variable about the current state of the light.
EDIT: SOLVED !
Sorry, just after posting I realized I should pull my finger out of my ass and finally figure out whats this "decompiler" story was about. Now the knowledge is mine and I might spam the forum a little bit less.
Solved Finding out if torch/laserSight is on ?
Discussion in 'Rust Development' started by Yatta, Jul 29, 2016.
