mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Update repair.lua
This commit is contained in:
committed by
GitHub
parent
af6c28da60
commit
2ac3c6bdc9
@@ -11,7 +11,7 @@ Discord: https://discord.gg/r6dC2uK
|
||||
local const = 100
|
||||
-- given const = 100: admin+ has unlimited, admin has 100, mod has 50, member has 20
|
||||
|
||||
commands.add_command('repair', 'Repairs all destoryed and damaged entites in an area', {'range'}, function(event,args)
|
||||
commands.add_command('repair', 'Repairs all destoryed and damaged entites in an area.', {'range'}, function(event,args)
|
||||
local range = tonumber(args.range)
|
||||
local player = Game.get_player(event)
|
||||
local rank = Ranking.get_rank(player)
|
||||
@@ -27,4 +27,4 @@ commands.add_command('repair', 'Repairs all destoryed and damaged entites in an
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user