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
return false;
end;
end;[/lua]
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.
Many thanks.
Use lua tags please.
Sorry about that.
[QUOTE=Paragon;30161164]Sorry about that.[/QUOTE]
I resolved this my self and created my own item for this, add me on steam and I'll be happy to help.
Sorry, you need to Log In to post a reply to this thread.