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