(adsbygoogle = window.adsbygoogle || []).push({});
Hello, I use my private edit of RedDotCity by Exelo.
I like building massive staircases, but the skybarrier means that people in my lobbies can't use them.
I looked in the Nuketown Edit of Shark's Zombieland and found a function saying "Remove Sky Barrier"?
I added a Host Menu option: self add_option("SubMenu10", "Remove Sky Barrier", ::RemoveSkyBarrier);
And pasted the following code lower down in the script which I found in the Nuketown Edit:
RemoveSkyBarrier()
{
entArray = getEntArray();
for (index = 0; index < entArray.size; index++)
{
if(isSubStr(entArray[index].classname, "trigger_hurt") && entArray[index].origin[2] > 180)
entArray[index].origin = (0, 0, 9999999);
}
}
When I try and use it in the menu it doesn't work though, can anybody experienced help me out?:madsal: