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:
@@ -1,11 +1,7 @@
|
||||
function reloadElunaEngine(event, player, command)
|
||||
if command == "reload scripts" or command == "reloadscripts" then
|
||||
if player == nil or player:IsGM() then -- console or gm
|
||||
ReloadEluna()
|
||||
else
|
||||
player:SendBroadcastMessage("Turn <GM> mode on for access to this command")
|
||||
end
|
||||
end
|
||||
if command == "reload scripts" or command == "reloadscripts" then
|
||||
ReloadEluna()
|
||||
end
|
||||
end
|
||||
|
||||
RegisterPlayerEvent(42, reloadElunaEngine)
|
||||
Reference in New Issue
Block a user