forked from mtcontrib/factions
Fix: chat cmd not working
This commit is contained in:
parent
dbe7f4aabd
commit
193828602b
@ -1404,6 +1404,7 @@ factions.register_command("chat", {
|
|||||||
description = "Send a message to your faction's members",
|
description = "Send a message to your faction's members",
|
||||||
description_arg = " <message>:",
|
description_arg = " <message>:",
|
||||||
global_privileges = def_global_privileges,
|
global_privileges = def_global_privileges,
|
||||||
|
format = {"string"},
|
||||||
on_success = function(player, faction, pos, parcelpos, args)
|
on_success = function(player, faction, pos, parcelpos, args)
|
||||||
local msg = table.concat(args.strings, " ")
|
local msg = table.concat(args.strings, " ")
|
||||||
factions.broadcast(faction.name, msg, player)
|
factions.broadcast(faction.name, msg, player)
|
||||||
|
Loading…
Reference in New Issue
Block a user