Added /f resetpower

This commit is contained in:
shamoanjac 2016-08-28 11:37:14 +02:00
parent da37376d20
commit ce8fec854f
1 changed files with 11 additions and 0 deletions

View File

@ -603,6 +603,17 @@ factions.register_command("setadmin", {
end
})
factions.register_commad("resetpower", {
description = "Reset a faction's power",
infaction = false,
global_privileges = {"faction_admin"},
format = {"faction"},
on_success = function(player, faction, pos, parcelpos, args)
args.factionsp[1].power = 0
return true
end
})
-------------------------------------------------------------------------------
-- name: cmdhandler(playername,parameter)
--