mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed rank message
This commit is contained in:
@@ -64,7 +64,7 @@ function ranking.rank_print(msg, rank, inv)
|
|||||||
else
|
else
|
||||||
server.queue_callback(function(player_rank_power,rank)
|
server.queue_callback(function(player_rank_power,rank)
|
||||||
if player_rank_power <= rank.power then
|
if player_rank_power <= rank.power then
|
||||||
if rank.short_hand ~= '' then player.print(('['..(rank.short_hand)..']: '..msg)) else player.print({'ranking.all-rank-print',msg}) end
|
if rank.short_hand ~= '' then player.print{'ranking.rank-print',rank.short_hand,msg} else player.print{'ranking.all-rank-print',msg} end
|
||||||
end
|
end
|
||||||
end,{player_rank_power,rank})
|
end,{player_rank_power,rank})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
[ranking]
|
[ranking]
|
||||||
all-rank-print=[Everyone]: __1__
|
all-rank-print=[Everyone]: __1__
|
||||||
|
rank-print=[__1__]: __2__
|
||||||
rank-up=__1__ was promoted to __2__ by __3__
|
rank-up=__1__ was promoted to __2__ by __3__
|
||||||
rank-down=__1__ was demoted to __2__ by __3__
|
rank-down=__1__ was demoted to __2__ by __3__
|
||||||
rank-given=You have been given the __1__ Rank!
|
rank-given=You have been given the __1__ Rank!
|
||||||
|
|||||||
Reference in New Issue
Block a user