fix physical damage calculator for distance weapon, add !vials command, remove !online command for regular players

This commit is contained in:
ErikasKontenis
2021-05-07 22:34:28 +03:00
parent f8c7f4e837
commit 6660328be2
6 changed files with 64 additions and 13 deletions

View File

@@ -1,6 +1,14 @@
local maxPlayersPerMessage = 10
function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
local hasAccess = player:getGroup():getAccess()
local players = Game.getPlayers()
local onlineList = {}