Lucario Posted May 11, 2013 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
xXMADEXx Posted May 11, 2013 Posted May 11, 2013 triggerServerEvent The Ultimate Lua Tutorial! | MTA PHP SDK
1B0Y Posted May 11, 2013 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. Founder of Kutmode - http://kutmode.com | https://discord.gg/P3FXVnF (Retired) Leading Developer of Grand Theft International (Retired) Leading Developer of Full Theft Auto. (Retired) Owner of SourceMod.
xXMADEXx Posted May 11, 2013 Posted May 11, 2013 use MTA wiki to get all the functions. The Ultimate Lua Tutorial! | MTA PHP SDK
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