mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
Add files via upload
This commit is contained in:
11
Unbind.lua
Normal file
11
Unbind.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user