Refresh database

Useful to refresh Doors Creator after you manually create something in the database

Export

exports["doors_creator"]:refreshDatabase()

Example

RegisterCommand("refreshDoorsCreator", function(playerId)
    -- Only server console can use the command
    if(playerId and playerId > 0) then return end
    
    exports["doors_creator"]:refreshDatabase()
end)

Last updated