[ChatCommand("shop")]
private void cmdShop(BasePlayer player, string command, string[] args)
{
if(!Shops.ContainsKey("chat"))
{
SendReply(player, MessageErrorNPCRange);
return;
}
if (!player.CanBuild())
{
SendReply(player, MessageErrorBuildingBlocked);
return;
}
Can we get a permission or config for option to allow /shop in building blocked areas? I can edit this for myself but seems like would be reasonable to include in plugin. Cheers.
private void cmdShop(BasePlayer player, string command, string[] args)
{
if(!Shops.ContainsKey("chat"))
{
SendReply(player, MessageErrorNPCRange);
return;
}
if (!player.CanBuild())
{
SendReply(player, MessageErrorBuildingBlocked);
return;
}
Can we get a permission or config for option to allow /shop in building blocked areas? I can edit this for myself but seems like would be reasonable to include in plugin. Cheers.