16 lines
440 B
Lua
16 lines
440 B
Lua
RegisterNetEvent('Betterflashlight:CustomHelpMenu')
|
|
AddEventHandler('Betterflashlight:CustomHelpMenu', function(animName, toogleTorch, changeAnim, isEquipped)
|
|
print("Anim Name: "..animName)
|
|
print("Toogle torch button: "..toogleTorch)
|
|
print("Change anim button: "..changeAnim)
|
|
print("Is Equipped: "..tostring(isEquipped))
|
|
--EXAMPLE:
|
|
if isEquipped then
|
|
--Your show notify trigger
|
|
else
|
|
--Hide notify trigger
|
|
end
|
|
end)
|
|
|
|
|