Good day !
i tried a bit, but cant figure out how to allow the build of structures with no costs.
void CanBuild(Planner plan, Construction prefab)
{
Puts("CanBuild works!");
}
returning null , of course does nothing.
false/true just denies the whole build.
i know, "just" returning true of false instead null would be way too easy.
is there even a "easy" or short way?
Free building with no resource costs
Discussion in 'Rust Development' started by Crushed, May 25, 2017.
-
afaik the player needs basic building materials to actually place anything in the first place, so i dont think you could exactly make it "free" or cost 0 resources. Probably the best thing you could do would be to give the player x amount of resources after they have built the structure.
-
yea. i saw that method in "auto build grades" plugin.
wouldnt that solve itself when the player actually gets the resources BEFORE the entity is being build? -
-
-
Just use Automatic Building Grades with the "nores" permission.
-
"just" nores isnt working for me. wanted to create that with a IsPlayerInZone Check .