CopyResource

From Multi Theft Auto: Wiki
Revision as of 19:40, 23 June 2009 by Awwu (talk | contribs) (New page: __NOTOC__ {{Server function}} This function copies a specified resource with a new name. ==Syntax== <syntaxhighlight lang="lua"> bool copyResource ( resource theResource, string newResourceName ) ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function copies a specified resource with a new name.

Syntax

bool copyResource ( resource theResource, string newResourceName )

Required Arguments

  • theResource: the resource which is going to be copied
  • newResourceName: the name that the copied resource will receive

Returns

Returns true if the resource was copied successfully, false otherwise.

Example

--TODO

See Also