addResourceConfig | Multi Theft Auto: Wiki Skip to content

addResourceConfig

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 adds a new empty config file to an existing resource.

Syntax

addResourceConfig ( )

Code Examples

server
function onStart()
addResourceConfig(":ctf/settings.xml", "server")
end
addEventHandler("onResourceStart",getResourceRootElement(),onStart)