Exports

The exports of the script

1. AddInteract

Options:

exports["ip_interact"]:AddInteract({ 
    Coords = vec3(0.0, 0.0, 0.0), --> Vector3 | The coords of the Interact
    Job = nil, --> String | The job that can access the interact
    SeeDist = 10.0, --> Number | The Distance that the player can see the interact
    InteractDist = 1.0, --> Number | The Distance that the player can interact with the menu
    Options = {} --> Table | The Options of the interact
})

Returns: The Unique code of the Interact

2. RemoveInteract

Options: The Unique code of the interact

exports["ip_interact"]:RemoveInteract("XXXX-XXXX")

3. EditInteract

Options:

exports["ip_interact"]:EditInteract("XXXX-XXXX", {
    Coords = vec3(0.0, 0.0, 0.0), --> Vector3 | The coords of the Interact
    Job = nil, --> String | The job that can access the interact
    SeeDist = 10.0, --> Number | The Distance that the player can see the interact
    InteractDist = 1.0, --> Number | The Distance that the player can interact with the menu
    Options = {} --> Table | The Options of the interact
})

Last updated