Add files via upload

This commit is contained in:
Dinkledork
2023-03-06 05:51:14 -07:00
committed by GitHub
parent 2f0ed99c60
commit 22eed3ecf2
4 changed files with 167 additions and 10 deletions

View File

@@ -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)