getThisResource
Shared
Returns the resource the script is running in.
resource getThisResource()
Returns
The current resource.
Example
local me = getThisResource()
outputDebugString(getResourceName(me) .. " started")Returns the resource the script is running in.
The current resource.
local me = getThisResource()
outputDebugString(getResourceName(me) .. " started")