getResourceOrganizationalPath | Multi Theft Auto: Wiki Skip to content

getResourceOrganizationalPath

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function returns the organizational file path (e.g. [admin]) of a resource.

Syntax

getResourceOrganizationalPath ( )

Code Examples

server

This example outputs the path of the current resource when it is started.

addEventHandler("onResourceStart", resourceRoot,
function ()
outputChatBox(getResourceName(resource) .. "'s path: " .. getResourceOrganizationalPath(resource))
end)