Do you want to create innovative interactions? With our script it's possible. Add interactions on Entity, or on given Coordinates You can use it in any script, for example in the Pawn Shop or in the jobs.
NoPixel like Textures created by https://github.com/Obtaizen
Without this guy we wouldn't have been able to create the NoPixel option in the config.
Of course you can, most things are possible in this script
Definitely yes, the current script is in the WIP stage, so we recommend reporting any problems on our discord : https://discord.gg/QVgbKSTHMz
exports['just_interactions']:createInteraction(
{
coords = {-324.62585449219, -1514.4627685547, 27.56467628479, 293.38525390625},
action = function ()
--- Your Action
end,
label = 'Your Label',
}
)
exports['just_interactions']:createInteraction(
{
entity = yourEntity
action = function ()
--- Your Action
end,
label = 'Your Label',
}
)
exports['just_interactions']:createInteraction(
{
entity = yourEntity
action = function ()
--- Your Action
end,
label = 'Your Label',
canInteract = function()
--- your logic must return true to show element and return false to hide element
end,
}
)
exports['just_interactions']:createInteraction(
{
entity = yourEntity
action = function ()
--- Your Action
end,
label = 'Your Label',
job = 'police'
}
)
exports['just_interactions']:removeInteraction({-324.62585449219, -1514.4627685547, 27.56467628479, 293.38525390625})
exports['just_interactions']:removeEntity(yourEntity)