mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Fixed few _G functions
This commit is contained in:
@@ -8,7 +8,7 @@ Discord: https://discord.gg/r6dC2uK
|
|||||||
]]
|
]]
|
||||||
--Please Only Edit Below This Line-----------------------------------------------------------
|
--Please Only Edit Below This Line-----------------------------------------------------------
|
||||||
|
|
||||||
function get_afk_time(player)
|
local function get_afk_time(player)
|
||||||
local rank = Ranking.get_rank(player)
|
local rank = Ranking.get_rank(player)
|
||||||
local count = #game.connected_players
|
local count = #game.connected_players
|
||||||
local base = rank.base_afk_time or false
|
local base = rank.base_afk_time or false
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ local function report_message(player,by_player,reason)
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
function count_reports(player)
|
local function count_reports(player)
|
||||||
local player = Game.get_player(player)
|
local player = Game.get_player(player)
|
||||||
if not player then return 0 end
|
if not player then return 0 end
|
||||||
local _count = 0
|
local _count = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user