Blockland Files > Add-Ons
Slayer | New Bugfix Update
Goth77:
--- Quote from: King Tøny on October 23, 2018, 07:01:55 PM ---ANyone know how I can keep lights disabled in slayer and be able to still use the duplicator?
--- End quote ---
This wouldn't have anything to do with Slayer, unless you want light disabling to be a mini-game only feature, but you could make a script for that with or without Slayer....
--- Code: ---$Pref::Server::AllowPlayerLight = false;
package NoLights
{
function servercmdLight(%client)
{
if($Pref::Server::AllowPlayerLight $= false)
{
if(%client.ndModeIndex)
%client.ndMode.onLight(%client);
else
return;
}
else
{
if(%client.ndModeIndex)
%client.ndMode.onLight(%client);
else
parent::servercmdLight(%client);
}
}
};
activatePackage(NoLights);
--- End code ---
Put that into a server.cs with a description.txt and package them into a .zip called something like Script_NoPlayerLight
You can re-enable the /light command by typing $Pref::Server::AllowPlayerLight = true; into the console
cblock360:
I wish there was a class based system where different playertypes and clothing and weapons could be assigned to each different class to a single team.
King Tøny:
--- Quote from: cblock360 on October 25, 2018, 03:44:44 AM ---I wish there was a class based system where different playertypes and clothing and weapons could be assigned to each different class to a single team.
--- End quote ---
I'm doing that with teams but it's incredibly hard to pull off. Especially when teams don't save on persistence.
Greek2me:
antilock