loadSpawns

About

This export loads a set of spawn points into the spawnmanager from a JSON string.

Name

loadSpawns

Parameters

string spawnString

Required Arguments

  • spawnString An array of spawn objects in JSON format
Example
{
    'spawns': [
        {
            x: 466.8401,
            y: 197.7201,
            z: 111.5291,
            heading: 291.71,
            model: 'a_m_m_farmer_01'
        }
    ]
}

Examples

TODO