mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-20 00:17:11 +01:00
fix physical damage calculator for distance weapon, add !vials command, remove !online command for regular players
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user