addResourceMap | Multi Theft Auto: Wiki Skip to content

addResourceMap

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 mapfile to an existing resource.

Note

You can't add a map to a running resource.

Syntax

addResourceMap ( )

Code Examples

server

This example just adds a map to a gamemode resource called "cdm".

addResourceMap(":cdm/[maps]/New.map",0)