mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Merge branch 'pr/31'
This commit is contained in:
@@ -20,7 +20,7 @@ local disallow = {
|
||||
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)
|
||||
@@ -40,4 +40,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