Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[QUESTION OF THE CENTURY] [The Secret to Happiness] *$1000 REWARD!!!!!*? [closed]

Asked by 3 years ago

OK so I am making a military group and I need help creating an imprisonment system using the Adonis admin plugin. I am having difficulty creating the function which allows the command to work.

view source

01 server = nil -- Mutes warnings about unknown globals 02 service = nil 03 return function() 04 server.Commands.AdonisExample = { 05 Prefix = server.Settings.Prefix; -- Prefix to use for command 06 Commands = {"detain", "imprison", "incarcerate"}; -- Commands 07 Args = {"player", "number"}; -- Command arguments 08 Description = "Imprison a player for the specified time."; -- Command Description 09 Hidden = false; -- Is it hidden from the command list? 10 Fun = false; -- Is it fun? 11 AdminLevel = "Moderator"; -- Admin level; If using settings.CustomRanks set this to the custom rank name (eg. "Baristas") 12 Function = function(plr,args) -- Function to run for command 13
14 end 15 } 16 end What I want the command to do:

Put the player into the "incarcerated" team Wait for the specified time Put the player back into their original team after the time has elapsed and reset them so they are no longer in prison

MILLION DOLLAR REWARD SECRET TO THE MILLENIA!

Closed as Not Constructive by Ziffixture

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?