π οΈConfiguration
Main Configuration (sh.main.lua)
Basic Settings
Config.MenuCommand = "skillSelection" -- Command to open menu (string or false)
Config.Keybind = "F6" -- Keybind to open menu (string or false)Skill Tree Settings
Config.UseDataFromSkillTree = false -- true/falseAbilities
Config.Abilities = {
['wizard'] = {
name = "Wizard",
displayOrder = 1,
isVisible = function(source)
-- return true if the ability should be visible in the UI
-- server side
return true
end,
abilities = {
['water_spell'] = {
label = "Water spell",
icon = "fas fa-user",
useCooldown = 5,
onUse = function()
-- client side
print("Water spell used by "..GetPlayerName(PlayerId()))
return true -- return true if the ability was used successfully, false cooldown will not be triggered
end
},
['fire_spell'] = {
label = "Fire spell",
icon = "fire_spell.png",
useCooldown = 5,
onUse = function()
-- client side
print("Fire spell used by "..GetPlayerName(PlayerId()))
return true -- return true if the ability was used successfully, false cooldown w
end
},
}
},
['vampire'] = {
name = "Vampire",
displayOrder = 2,
isVisible = function(source)
-- return true if the ability should be visible in the UI
-- server side
return true
end,
abilities = {
['more_hp'] = {
label = "More Hp",
icon = "more_hp.png",
useCooldown = 5,
onUse = function()
-- client side
print("More hp used by "..GetPlayerName(PlayerId()))
return true -- return true if the ability was used successfully, false cooldown w
end
},
}
},
}Hotbar settings
CustomHotBarCss
Language Configuration (sh.lang.lua)
Framework File (s.framework.lua)
Functions File (c.functions.lua)
useRaycast usage:
Last updated