mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-01-01 05:01:40 +09:00
Fix a big error in the player list
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -360,7 +360,7 @@ function drawPlayerList()
|
||||
player.tag = '[Jail]'
|
||||
end
|
||||
end
|
||||
if player.admin == true then
|
||||
if player.admin == true and player.tag ~= '[Jail]' then
|
||||
if player.name == "badgamernl" or player.name == "BADgamerNL" then
|
||||
a.gui.left.PlayerList.PlayerListScroll.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name , " - OWNER"}}
|
||||
a.gui.left.PlayerList.PlayerListScroll[player.name].style.font_color = {r=170,g=0,b=0}
|
||||
@@ -385,8 +385,7 @@ function drawPlayerList()
|
||||
end
|
||||
end
|
||||
for i, player in pairs(game.connected_players) do
|
||||
if player.tag ~= '[Jail]' then
|
||||
if player.admin == false then
|
||||
if player.admin == false and player.tag ~= '[Jail]' then
|
||||
if ticktominutes(player.online_time) >= timeForRegular then
|
||||
a.gui.left.PlayerList.PlayerListScroll.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name}}
|
||||
a.gui.left.PlayerList.PlayerListScroll[player.name].style.font_color = {r=24,g=172,b=188}
|
||||
@@ -406,7 +405,6 @@ function drawPlayerList()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
addButton('goto',
|
||||
function(player,frame)
|
||||
|
||||
Reference in New Issue
Block a user