Files
RandomScriptsforAzerothCore/Unbind.lua
2023-02-11 03:20:34 -07:00

11 lines
290 B
Lua

local UnbindCommand = {}
local MSG_UNBIND = "#unbind"
local function UnbindInstances(event, player, msg, Type, lang)
if (msg:find(MSG_UNBIND)) then
player:UnbindAllInstances()
player:SendBroadcastMessage("All instances unbound.")
end
end
RegisterPlayerEvent(18, UnbindInstances)