mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 13:01:39 +09:00
Update to /tag-clear
This commit is contained in:
@@ -32,10 +32,10 @@ end)
|
|||||||
--- Gives you a tag
|
--- Gives you a tag
|
||||||
-- @command tag
|
-- @command tag
|
||||||
-- @param tag the tag you want to have
|
-- @param tag the tag you want to have
|
||||||
commands.add_command('tag-clear', 'Removes a custom tag. Player can be self (/tag-clear self)', {
|
commands.add_command('tag-clear', 'Removes a custom tag.', {
|
||||||
['player'] = {true,'player-rank'}
|
['player'] = {false,'player-rank'}
|
||||||
}, function(event,args)
|
}, function(event,args)
|
||||||
local player = args.player
|
local player = args.player or game.player
|
||||||
if Ranking then
|
if Ranking then
|
||||||
local rank = Ranking.get_rank(player)
|
local rank = Ranking.get_rank(player)
|
||||||
player.tag = rank.tag
|
player.tag = rank.tag
|
||||||
|
|||||||
Reference in New Issue
Block a user