MTA Collectibles

Module system_server

Synopsis

Functions
system_server.getCollectibleTypes()

(Exported)

system_server.parseCustomSettings()

Validates all custom settings

returns true if successful, false + error message otherwise

system_server.loadConfiguration()

Loads the configuration file and parses it

Errors are usually caused by incorrectly formatted XML file (caused by editing it manually) and file IO operations

system_server.spawnCollectibles()

(Exported)

system_server.destroyCollectibles()

(Exported)

system_server.removeSpawnpoint()

(Exported)

system_server.createNewSpawnpoint()

(Exported)

system_server.getCollectedCounts()

(Exported)

system_server.resetClientCollectibles()

(Exported)

system_server.getCollectibleTypes()

(Exported)

system_server.parseCustomSettings()

Validates all custom settings

returns true if successful, false + error message otherwise.

system_server.loadConfiguration()

Loads the configuration file and parses it

Errors are usually caused by incorrectly formatted XML file (caused by editing it manually) and file IO operations.

system_server.spawnCollectibles(theType, thePlayer)

(Exported)

system_server.destroyCollectibles(theType, thePlayer)

(Exported)

system_server.removeSpawnpoint(theType, spID)

(Exported)

system_server.createNewSpawnpoint(theType, model, x, y, z, interior, dimension)

(Exported)

system_server.getCollectedCounts(account)

(Exported)

system_server.resetClientCollectibles(targetAccount, theType, thePlayer)

(Exported)