mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed Auto Rank Again
This commit is contained in:
@@ -139,8 +139,8 @@ function autoRank(player)
|
||||
if Break then break end
|
||||
end
|
||||
if playerAutoRank == nil then
|
||||
if ticktominutes(player.online_time) >= timeForVeteran then playerAutoRank = stringToRank('Veteran') end
|
||||
if ticktominutes(player.online_time) >= timeForRegular then playerAutoRank = stringToRank('Regular') end
|
||||
if ticktominutes(player.online_time) >= timeForVeteran then playerAutoRank = stringToRank('Veteran')
|
||||
elseif ticktominutes(player.online_time) >= timeForRegular then playerAutoRank = stringToRank('Regular') end
|
||||
playerAutoRank = playerAutoRank or stringToRank('Guest')
|
||||
end
|
||||
if currentRank.name ~='Jail' and currentRank.power > playerAutoRank.power or currentRank.name == 'Guest' then
|
||||
|
||||
Reference in New Issue
Block a user