GetResourceOrganizationalPath: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} __NOTOC__ This function returns the organizational file path (e.g. ''[admin]'') of a resource. ==Syntax== <syntaxhighlight lang="lua"> string getResource...")
 
mNo edit summary
Line 1: Line 1:
{{Server function}}
{{Server function}}
{{Needs_Example}}
__NOTOC__
__NOTOC__
This function returns the organizational file path (e.g. ''[admin]'') of a resource.
This function returns the organizational file path (e.g. ''[admin]'') of a resource.
Line 16: Line 17:


==Example==  
==Example==  
{{Missing_example}}


==See Also==
==See Also==
{{Resource_functions}}
{{Resource_functions}}

Revision as of 05:20, 25 June 2017

Accessories-text-editor.png Script Example Missing Function GetResourceOrganizationalPath needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


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

Syntax

string getResourceOrganizationalPath ( resource theResource )

OOP Syntax Help! I don't understand this!

Method: resource:getOrganizationalPath (...)


Required Arguments

  • theResource: the resource of which you want to know the organizational path

Returns

Returns the organizational path of the resource.

Example

See Also