Main/resources/[carscripts]/lc_utils/custom_scripts/client/target.lua
2025-06-07 08:51:21 +02:00

19 lines
No EOL
1.7 KiB
Lua

-- If you have successfully implemented any code here, please share your results on our Discord to assist other customers using the same scripts :)
-- https://discord.gg/U5YDgbh
function Utils.CustomScripts.createTargetInCoords(location_id,x,y,z,onSelectTargetOptionCallback,labelText,icon,iconColor,zone_id,callbackData)
-- If you've set the config to "other", you need to configure your target export.
-- Remove the error line below after implementing.
error("^3The function for the selected target script in the Config has not been implemented: ^1" .. Config.custom_scripts_compatibility.target .. "^3. If you're not using any of the pre-built target scripts, you'll need to implement it here.^7")
end
function Utils.CustomScripts.createTargetForModel(models,onSelectTargetOptionCallback,labelText,icon,iconColor,zone_id,callbackData)
-- If you've set the config to "other", you need to configure your target export.
-- Remove the error line below after implementing.
error("^3The function for the selected target script in the Config has not been implemented: ^1" .. Config.custom_scripts_compatibility.target .. "^3. If you're not using any of the pre-built target scripts, you'll need to implement it here.^7")
end
function Utils.CustomScripts.createTargetForVehicleBone(boneList,params,onSelectTargetOptionCallback,callbackData,canInteractTargetCallback)
-- If you've set the config to "other", you need to configure your target export.
-- Remove the error line below after implementing.
error("^3The function for the selected target script in the Config has not been implemented: ^1" .. Config.custom_scripts_compatibility.target .. "^3. If you're not using any of the pre-built target scripts, you'll need to implement it here.^7")
end