I was wondering if this was correct, I wanted to implement the standard flashlight into the OpenAura code so far I have this:
[lua]-- Called when a player switches their flashlight on or off.
function openAura.schema:PlayerSwitchFlashlight(player, on)
if ( on or player:GetSharedVar(“tied”) != 0) ) then
When I added that into the cl_hooks it didn’t work and actually removed some features. Can anyone shed some light on the situation.