mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +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
|
local const = 100
|
||||||
-- given const = 100: admin+ has unlimited, admin has 100, mod has 50, member has 20
|
-- 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 range = tonumber(args.range)
|
||||||
local player = Game.get_player(event)
|
local player = Game.get_player(event)
|
||||||
local rank = Ranking.get_rank(player)
|
local rank = Ranking.get_rank(player)
|
||||||
|
|||||||
Reference in New Issue
Block a user