it's working but blocks repairs and build only a few seconds. What's the problem? Can anyone help?
any fix?
any fix?
In response to DarkNosS96 ():you cant disable this with this plugin
oxide forum
it's working but blocks repairs and build only a few seconds. What's the problem? Can anyone help?any fix?
object OnStructureRepair (BaseCombatEntity entity, BasePlayer player)
{
var result = CanDo ("repair", player);
if (result is string) {
if (entity.health < entity.MaxHealth ()) {
return null;
}
SendReply (player, result.ToString ());
return true;
}
return null;
}change this lines as
object OnStructureRepair (BaseCombatEntity entity, BasePlayer player)
{
var result = CanDo ("repair", player);
if (result is string) {
if (entity.health < entity.MaxHealth ()) {
SendReply (player, result.ToString ());
return true;
}
return null;
}
return null;
}