Are you using the pre version?i've changed my all plugins setting ( Magma. to Fougerite. ) but most of my plugins not working.
And in chat it says "Config does not exist"
i've changed my all plugins setting ( Magma. to Fougerite. ) but most of my plugins not working.
Do you mean you added a comment "// fougerite" to the first line of the script?
That's only for scripts that have been adapted not to need Magma compatibility fixes. Leave it out if you are running scripts written for Magma.
function On_Command(Player, cmd, args)
{
if(cmd == "b" || cmd == "broadcast")
{
if(!Player.Admin)
{
Player.Message("You are not allowed to use this command!");
}
else if(args.Length < 1)
{
Player.Message("Command Usage: /broadcast message");
}
else
{
var text = argsToText(args);
Server.BroadcastNotice(text, 5);
}
}
}
function argsToText(args)
{
var text = "";
if (args.Length == 1)
{
text = args[0];
}else{
for (var l = 0; l < args.Length; l++)
{
if (l == args.Length - 1)
{
text += args[l];
}else{
text += args[l] + " ";
}
}
}
return text;
}
I just did this
WARNING: If you are using Magma plugins you must rename all calls to class "Magma" to "Fougerite":
Ok, this doesn't apply to your plugin.
If you are running a 1.0.4 pre-release, change all .Length to lower-case .length.
As I said, its not really a great thing to use the pre releases. They aren't stable that much.i've tried with 2 plugin one worked well one didn't
As I said, its not really a great thing to use the pre releases. They aren't stable that much.