mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
fixed squares after names
..' '
This commit is contained in:
10
control.lua
10
control.lua
@@ -410,8 +410,8 @@ function drawPlayerList()
|
||||
for i, player in pairs(game.connected_players) do
|
||||
playerRank = getRank(player)
|
||||
if playerRank.power <= 3 or playerRank.name == 'Jail' then
|
||||
if playerRank.shortHand ~= '' then Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name , ' - '..playerRank.shortHand..' '}}
|
||||
else Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name..' '}} end
|
||||
if playerRank.shortHand ~= '' then Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name , ' - '..playerRank.shortHand}}
|
||||
else Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name}} end
|
||||
Plist[player.name].style.font_color = playerRank.colour
|
||||
player.tag = playerRank.tag
|
||||
end
|
||||
@@ -419,8 +419,8 @@ function drawPlayerList()
|
||||
for i, player in pairs(game.connected_players) do
|
||||
playerRank = getRank(player)
|
||||
if playerRank.power > 3 and playerRank.name ~= 'Jail' then
|
||||
if playerRank.shortHand ~= '' then Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name , ' - '..playerRank.shortHand..' '}}
|
||||
else Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name..' '}} end
|
||||
if playerRank.shortHand ~= '' then Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name , ' - '..playerRank.shortHand}}
|
||||
else Plist.add{type = "label", name=player.name, style="caption_label_style", caption={"", ticktohour(player.online_time), " H - " , player.name}} end
|
||||
Plist[player.name].style.font_color = playerRank.colour
|
||||
player.tag = playerRank.tag
|
||||
end
|
||||
@@ -770,4 +770,4 @@ addTab('Admin+', 'Modifiers', 'Edit in game modifiers',
|
||||
frame.modifierTable.add{name=modifier .. "_current", type="label", caption=tostring(player.force[modifier])}
|
||||
end
|
||||
drawButton(frame.flowNavigation,"btn_Modifier_apply","Apply","Apply the new values to the game")
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user