Lucario Posted May 11, 2013 Share Posted May 11, 2013 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
Lucario Posted May 11, 2013 Author Share Posted May 11, 2013 and next, i think there are more Link to comment
1B0Y Posted May 11, 2013 Share Posted May 11, 2013 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
xXMADEXx Posted May 11, 2013 Share Posted May 11, 2013 use MTA wiki to get all the functions. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now