Hi guys, im asking if i can get name of resource that called a function from another resource.
--- function from resource1
function Func()
outputChatBox("That function called by: ".. resourceName) -- print 'That function called by: resource2'
end
--- resource2
exports["resource1"]:Func()