Progetto H — API Reference API & Scripting Documentation
Event Server

Server.ChangeMap

Called when the map changes. This is always called just before Restart event

Syntax

Lua
Server.Subscribe("ChangeMap", function(old_map, new_map)
    -- il tuo codice
end)

Arguments

Name Type Default Description
old_map string
new_map string