Jump to content

Make a staff panel


Lucario

Recommended Posts

Hi, i want to create a staff panel, but i dont know what handlers, functions, etc, use, i have the gui alredy maked, i know i must use kick, ban, mute, command, thanks, i will put my progress if i need help, but now my question is what i must use, when have the gui

Link to comment

Theres ton of functions that a staff panel requires.

Break things down from scratch and work from there, such as:

- Making a gridlist and making a loop to show all players (for k,v in ipairs(getElemementsByType("player")) do)

- Making a list of punishments to add to the panel

- Making those punishments work

- Add restrictions for the panel so only staff can use it (if(isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("L1"))))

- and a ton more.

Basically: plan it out.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...